Skip to main content

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

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.

XtraGauges - State Image Indicators and Color Scheme

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