Skip to main content
A newer version of this page is available. .

State Class

A state of a state indicator control.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v19.1.dll

Declaration

public class State :
    GaugeDependencyObject

The following members return State objects:

Remarks

A state is used to show a current state image according to a value that is set for the StateIndicatorControl.StateIndex property. An instance of a state is represented by the State object returned by the StateIndicatorControl.State property.

It is also possible to provide additional states of a state indicator (via the StateIndicatorControl.AdditionalStates property); as well as specify the state that is shown when the state index is out of range (via the StateIndicatorControl.DefaultState property).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the State class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also