Skip to main content

StateImageIndicatorComponent.IndicatorScale Property

Gets or sets the scale object to which the current StateImageIndicatorComponent object is linked.

Namespace: DevExpress.XtraGauges.Win.Base

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

Declaration

[DefaultValue(null)]
[XtraSerializableProperty]
public IScale IndicatorScale { get; set; }

Property Value

Type Default Description
DevExpress.XtraGauges.Core.Model.IScale null

An IScale object that represents the scale to which the current object is linked.

Remarks

When you set the scale related to this StateImageIndicatorComponent, you may specify certain value intervals for this scale, entering which should change the image, currently displayed by the indicator. These intervals are stored within the StateImageIndicatorComponent.ImageStateCollection. Each of these collection’s items has the StartValue and IntervalLength properties that allow you to set the desired value interval, and the StateIndex property that is the index of a target image kept within the StateImageIndicatorComponent.StateImages collection. If the current scale value belongs to the specific interval, the indicator displays the related image.

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

See Also