Click here to Skip to main content
15,890,670 members
Home / Discussions / WPF
   

WPF

 
QuestionRe: ListBox Binding From Within A User Control Pin
Mark Salsbery21-Jun-09 17:45
Mark Salsbery21-Jun-09 17:45 
AnswerRe: ListBox Binding From Within A User Control Pin
BlitzPackage21-Jun-09 17:55
BlitzPackage21-Jun-09 17:55 
GeneralRe: ListBox Binding From Within A User Control Pin
Mark Salsbery21-Jun-09 18:01
Mark Salsbery21-Jun-09 18:01 
QuestionHow do I check whether the "X" button in the top right corner was clicked on a WPF form? Pin
Etienne_12321-Jun-09 11:54
Etienne_12321-Jun-09 11:54 
AnswerRe: How do I check whether the "X" button in the top right corner was clicked on a WPF form? Pin
Christian Graus21-Jun-09 12:10
protectorChristian Graus21-Jun-09 12:10 
QuestionHow do you display separator bars in a StatusBar? Pin
fjparisIII21-Jun-09 8:27
fjparisIII21-Jun-09 8:27 
AnswerRe: How do you display separator bars in a StatusBar? Pin
Christian Graus21-Jun-09 10:05
protectorChristian Graus21-Jun-09 10:05 
GeneralRe: How do you display separator bars in a StatusBar? Pin
fjparisIII21-Jun-09 11:09
fjparisIII21-Jun-09 11:09 
Christian Graus wrote:
If you want seperators, why not add them as a border on the controls


Borders on the controls are a last resort possibility, but my question was, why don't the Separator elements show up? I shouldn't have to specify a width on them, as their constructor should specify a default width. In no other code I've ever seen do you have to specify a width for a Separator.

But I experimented by setting a width and was shocked to discover that the Separator in a StatusBar is a horizontal line, not a vertical line as one should expect. One should expect that, right? I suppose a horizontal line will work, but I wonder who's brilliant idea it was at Microsoft to make a Separator a horizontal line in a WPF StatusBar? Isn't that totally nonstandard? You'd expect horizontal lines only between items arranged vertically, like the separators between menu items.


Christian Graus wrote:
I expect you'd need to specify widths on the seperator itself, and specify a width of 10 on your column definition.


I tried an explicit width on the column definition and it didn't work, so went back to Width="Auto". When I specified a width on the separator itself, that's when I discovered the very strange thing that the Microsoft developer has done, in making separators horizontal lines in status bars instead of vertical lines. This almost seems like a bug to me. I should just put a vertical bar in there.
GeneralRe: How do you display separator bars in a StatusBar? Pin
Mark Salsbery21-Jun-09 11:13
Mark Salsbery21-Jun-09 11:13 
GeneralRe: How do you display separator bars in a StatusBar? (Ans: don't use them) Pin
fjparisIII21-Jun-09 11:26
fjparisIII21-Jun-09 11:26 
GeneralRe: How do you display separator bars in a StatusBar? (Ans: don't use them) Pin
Mark Salsbery21-Jun-09 11:29
Mark Salsbery21-Jun-09 11:29 
GeneralRe: How do you display separator bars in a StatusBar? (Ans: don't use them) Pin
fjparisIII21-Jun-09 11:51
fjparisIII21-Jun-09 11:51 
AnswerRe: How do you display separator bars in a StatusBar? [modified] Pin
Mark Salsbery21-Jun-09 10:50
Mark Salsbery21-Jun-09 10:50 
GeneralRe: How do you display separator bars in a StatusBar? Pin
Christian Graus21-Jun-09 10:51
protectorChristian Graus21-Jun-09 10:51 
GeneralRe: How do you display separator bars in a StatusBar? Pin
Mark Salsbery21-Jun-09 11:04
Mark Salsbery21-Jun-09 11:04 
GeneralRe: How do you display separator bars in a StatusBar? Pin
Mark Salsbery21-Jun-09 11:09
Mark Salsbery21-Jun-09 11:09 
AnswerRe: How do you display separator bars in a StatusBar? Pin
Mark Salsbery21-Jun-09 11:05
Mark Salsbery21-Jun-09 11:05 
GeneralRe: How do you display separator bars in a StatusBar? Pin
fjparisIII21-Jun-09 11:40
fjparisIII21-Jun-09 11:40 
QuestionHow to find the temparary drives created Pin
Nekkantidivya19-Jun-09 20:45
Nekkantidivya19-Jun-09 20:45 
AnswerRe: How to find the temparary drives created Pin
ABitSmart19-Jun-09 21:51
ABitSmart19-Jun-09 21:51 
Question[Message Deleted] Pin
CBenac19-Jun-09 14:11
CBenac19-Jun-09 14:11 
AnswerRe: Problem with WPF Browser application Pin
Christian Graus19-Jun-09 17:39
protectorChristian Graus19-Jun-09 17:39 
General[Message Deleted] Pin
CBenac20-Jun-09 3:13
CBenac20-Jun-09 3:13 
GeneralRe: Problem with WPF Browser application Pin
Christian Graus20-Jun-09 11:32
protectorChristian Graus20-Jun-09 11:32 
AnswerRe: [Message Deleted] Pin
Christian Graus20-Jun-09 13:09
protectorChristian Graus20-Jun-09 13:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.