Content Index Search
 

SimpleProgressBar

The progress bar is a simple control that an application can use to visually indicate the progress of a lengthy operation. By default, the progress bar window is filled from left to right, as the operation progresses. The control has a range and a current position. The SimpleProgressBar in Microsoft® Expression Blend™ only supports a horizontally orientated progress bar.

Artboard view: SimpleProgressBar

The artboard view of a SimpleProgressBar control after setting the Value property to 10.

Breaking down the control template

The SimpleProgressBar control template consists of the following items:

Warning Do not rename any element whose name begins with "PART_" because these elements are referred to from the code that implements the control.

Objects view: The basic parts (template) of SimpleProgressBar

Objects view: The basic parts (template) of a SimpleProgressBar control.

Property triggers used

The SimpleProgressBar control template does not use triggers. All control behavior is implemented in code.

Brushes used

The following brush resources in the SimpleStyles.xaml resource dictionary are used by the SimpleProgressBar template:

Best practices and design guidelines

Try it!