ProgressBar

In an ideal world, you would never need to use a ProgressBar in your app. But when faced with long-running operations or having to wait for content to transfer over the network, showing users a ProgressBar helps them realize that progress is indeed being made. Therefore, using a ProgressBar in the right places can dramatically improve usability. Figure 14.1 displays the default look of a ProgressBar with its Value set to 40.

Image

FIGURE 14.1 A ProgressBar showing 40% progress

ProgressBar has a default Minimum of 0 and a default Maximum of 100. It adds only three public properties to what RangeBase already provides:

IsIndeterminate ...

Get Universal Windows® Apps with XAML and C# 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.