StatusBar

WPF enables placing status bars at the bottom of a Window. This is accomplished by declaring a StatusBar object that nests StatusBarItems elements. The good news is that you are not limited to adding text to a StatusBar, because you can add several kinds of visual elements. The following example shows adding text and a ProgressBar into a StatusBar:

image

Figure 32.19 shows the result of the preceding code. You access members in the bar at the Visual Basic level via their identifiers.

Figure 32.19 A StatusBar with nested controls.

image

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.