A collection that stores states of a particular state indicator control.
NuGet Package: DevExpress.Wpf.Gauges
public class StateCollection : GaugeDependencyObjectCollection<State>
Public Class StateCollection Inherits GaugeDependencyObjectCollection(Of State)
Related API Members
The following members return StateCollection objects:
Each state indicator can hold two collections of states:
- The first collection is predefined. It cannot be changed and depends on the currently selected model (defined by the StateIndicatorControl.Model property).
- The second collection contains additional states. This collection can be accessed via the StateIndicatorControl.AdditionalStates property of a StateIndicatorControl object.
You can access the current state of a state indicator via the StateIndicatorControl.State property.