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 Class

A gauge element that displays custom images for different gauge states.

Namespace: DevExpress.XtraGauges.Win.Base

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

NuGet Package: DevExpress.Win.Gauges

#Declaration

public class StateImageIndicatorComponent :
    ImageIndicator,
    ISupportInitialize,
    IBindableComponent,
    IComponent,
    IDisposable,
    ICustomizationFrameClient,
    ISupportCustomizeAction,
    ISupportVisualDesigning,
    ISupportPropertyGridWrapper,
    ISupportAssign<StateImageIndicatorComponent>,
    IStateImageIndicator,
    IImageIndicator,
    IBaseObject,
    ISupportLockUpdate,
    ISupportAcceptOrder,
    ISupportAssign<IImageIndicator>,
    INamed,
    IScaleComponent,
    IPrimitive

The following members return StateImageIndicatorComponent objects:

#Remarks

The StateImageIndicatorComponent class object contains multiple custom images within its StateImageIndicatorComponent.StateImages collection. These images are changed when the value of the related gauge scale (the StateImageIndicatorComponent.IndicatorScale property) enters certain intervals defined by the StateImageIndicatorComponent.ImageStateCollection. Alternatively, StateImageIndicatorComponent.StateImages can be toggled manually by setting the StateImageIndicatorComponent.StateIndex property - this approach is used when the state image indicators does not reflect the specific scale value, but some external value instead. For instance, in the animation below, the state image indicator displays weather type icons that do not depend on gauge scales, displaying the current temperature and humidity.

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

#Inheritance

Object
BaseObject
DevExpress.XtraGauges.Core.Base.BaseElement<DevExpress.XtraGauges.Core.Primitive.IRenderableElement>
DevExpress.XtraGauges.Core.Base.BaseLeaf<DevExpress.XtraGauges.Core.Primitive.IRenderableElement>
BaseLeafPrimitive
DevExpress.XtraGauges.Core.Model.BaseScaleIndependentComponent<DevExpress.XtraGauges.Core.Model.ImageIndicatorProvider>
DevExpress.XtraGauges.Core.Model.ScaleIndependentLayerComponent<DevExpress.XtraGauges.Core.Model.ImageIndicatorProvider>
DevExpress.XtraGauges.Core.Model.ImageIndicator
StateImageIndicatorComponent
See Also