Docs / UI

Glossary: ProgressBarStyle

The members of ProgressBarStyle, in alphabetical order.

Color legend plain property dependency property method

The style class of ProgressBar: the properties a style can set on it. None. Framework defaults: BackgroundColor DefaultProgressBarBackgroundColor (the track), ForegroundColor DefaultProgressBarColor (the bar), Max 1.

A class deriving from BaseStyle. The styles page shows it in context.

Names are colored by what they are: a property, a method or an event; values and fields keep the plain color.

Properties

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.

Orientation 🠆

Orientation · Horizontal (the default, fills from the left) or Vertical (fills from the bottom).

Value 🠆

float · The current value, clamped to the range between Min and Max.

Methods

ProgressBarStyle()

ProgressBarStyle()

IsSet() 🠆

IsSet(string propertyName) · Whether the property is assigned to this style, so the style applies it. Pass the name with nameof; an unknown name gives false.

Parameter Type Description
propertyName string The name of a property of the style; nameof keeps it right.