Back to Devexpress

StateImageIndicatorComponent Class

windowsforms-devexpress-dot-xtragauges-dot-win-dot-base-e0387302.md

latest4.7 KB
Original Source

StateImageIndicatorComponent Class

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

Namespace : DevExpress.XtraGauges.Win.Base

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

NuGet Package : DevExpress.Win.Gauges

Declaration

csharp
public class StateImageIndicatorComponent :
    ImageIndicator,
    ISupportInitialize,
    IBindableComponent,
    IComponent,
    IDisposable,
    ICustomizationFrameClient,
    ISupportCustomizeAction,
    ISupportVisualDesigning,
    ISupportPropertyGridWrapper,
    ISupportAssign<StateImageIndicatorComponent>,
    IStateImageIndicator,
    IImageIndicator,
    IBaseObject,
    ISupportLockUpdate,
    ISupportAcceptOrder,
    ISupportAssign<IImageIndicator>,
    INamed,
    IScaleComponent,
    IPrimitive
vb
Public Class StateImageIndicatorComponent
    Inherits ImageIndicator
    Implements ISupportInitialize,
               IBindableComponent,
               IComponent,
               IDisposable,
               ICustomizationFrameClient,
               ISupportCustomizeAction,
               ISupportVisualDesigning,
               ISupportPropertyGridWrapper,
               ISupportAssign(Of StateImageIndicatorComponent),
               IStateImageIndicator,
               IImageIndicator,
               IBaseObject,
               ISupportLockUpdate,
               ISupportAcceptOrder,
               ISupportAssign(Of 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

StateImageIndicatorComponent Members

State and State Image Indicators

DevExpress.XtraGauges.Win.Base Namespace