Color legend plain property dependency property method
A bar that fills in proportion to Value between Min and Max. It only shows a value; the mouse does not change it.
ProgressBar derives from BaseElement and has its members too. The controls page shows it in context, with code and screenshots.
Names are colored by what they are: a plain property, a method, an event or a dependency property, which a style, a binding or an animation can set.
Properties
GeneralMouseCursorsSet 🠆
MouseCursorsSet · Static. The cursors of every element of this style type; null (the default) falls back to DefaultMouseCursorsSet.
GeneralStyle 🠆
ProgressBarStyle · Static. The style of every element of this style type. It starts as a copy of the framework defaults; changing one of its properties updates every such element, a property it leaves unset takes its default.
Max 🠆
float · The value of a full bar. Setting it below Min moves Min along. 1 unless set.
Min 🠆
float · The value of an empty bar. Setting it above Max moves Max along. 0 unless set.
MouseCursorsSet 🠆
MouseCursorsSet · Read-only. The cursors the element shows: its override, else the set given to the control it is a part of, else its type’s general set, else DefaultMouseCursorsSet.
MouseCursorsSetOverride 🠆
MouseCursorsSet · The cursors of this element only, passed on to its parts that have none of their own.
Orientation 🠆
Orientation · Horizontal (the default, fills from the left) or Vertical (fills from the bottom).
StyleOverride 🠆
ProgressBarStyle · A style for this element only, applied over the general style. Setting it to null takes its values back out.
Value 🠆
float · The current value, clamped to the range between Min and Max.
Methods
ProgressBar() 🠆
ProgressBar(string name = null) · Creates a progress bar. The name is used by GetElementByName.
| Parameter | Type | Description |
|---|---|---|
name |
string |
The element’s Name, which GetElementByName finds it by. Default: null. |