Back to Devexpress

StateImageIndicatorComponent.IndicatorScale Property

windowsforms-devexpress-dot-xtragauges-dot-win-dot-base-dot-stateimageindicatorcomponent-e8573713.md

latest2.9 KB
Original Source

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.v25.2.Win.dll

NuGet Package : DevExpress.Win.Gauges

Declaration

csharp
[DefaultValue(null)]
[XtraSerializableProperty]
public IScale IndicatorScale { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(Nothing)>
Public Property IndicatorScale As IScale

Property Value

TypeDefaultDescription
DevExpress.XtraGauges.Core.Model.IScalenull

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

ImageStateCollection

StateImages

State and State Image Indicators

StateImageIndicatorComponent Class

StateImageIndicatorComponent Members

DevExpress.XtraGauges.Win.Base Namespace