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
Related API Members
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.