StateIndicatorControl.State Property
Provides access to the current state of the StateIndicatorControl.
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Gauges, DevExpress.Wpf.Gauges
Declaration
Property Value
Type | Description |
---|---|
State | A State object containing the state image. |
Remarks
The State property can be accessed via the State.Presentation property of a State object.
Note that depending on the value of the StateIndicatorControl.StateIndex property, a state can be retrieved from different sources:
- from the current model specified in the StateIndicatorControl.Model property as a default state;
- from the collection of additional states in the StateIndicatorControl.AdditionalStates property;
- via the StateIndicatorControl.DefaultState property in case the state index is out of range.
See Also