How do I customize the WPF StatusBar layout?
Posted
by Kent Boogaart
on Stack Overflow
See other posts from Stack Overflow
or by Kent Boogaart
Published on 2009-09-03T13:53:40Z
Indexed on
2010/05/25
23:11 UTC
Read the original article
Hit count: 388
Adding more than one child to a WPF StatusBar
results in poor layout with little option to customize. For example, this code:
<StatusBar>
<StatusBarItem>
<TextBlock>Ready</TextBlock>
</StatusBarItem>
<StatusBarItem>
<TextBlock>Set</TextBlock>
</StatusBarItem>
</StatusBar>
Results in:
This is not the ideal layout, since the "Set" is squeezed right up against the "Ready".
How do I gain full control over the layout of the WPF StatusBar
control?
© Stack Overflow or respective owner