Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

StateImageIndicatorComponent.StateIndex Property

Gets or sets the index of a state image that is currently displayed within the StateImageIndicatorComponent.

Namespace: DevExpress.XtraGauges.Win.Base

Assembly: DevExpress.XtraGauges.v24.2.Win.dll

NuGet Package: DevExpress.Win.Gauges

#Declaration

[ImageList("StateImages")]
[XtraSerializableProperty]
public int? StateIndex { get; set; }

#Property Value

Type Description
Nullable<Int32>

An Int32 value that is the currently displayed image’s index.

#Remarks

The StateIndex property allows you to manually select an image from the StateImageIndicatorComponent.StateImages collection that should be currently displayed by this StateImageIndicatorComponent. Alternatively, you can set value intervals for the related scale (see the StateImageIndicatorComponent.IndicatorScale property), entering which will automatically change the image displayed by the indicator.

See the State and State Image Indicators topic to learn more.

See Also