RangeBase.IndicatorEnter Event
Occurs when any value indicator enters the current range.
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v24.2.dll
NuGet Package: DevExpress.Wpf.Gauges
Declaration
Event Data
The IndicatorEnter event's data class is IndicatorEnterEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Indicator | Gets the object, for which either the RangeBase.IndicatorEnter or RangeBase.IndicatorLeave event has been raised. Inherited from IndicatorEnterLeaveEventArgs. |
NewValue | Gets the new value of a property. Inherited from ValueChangedEventArgs. |
OldValue | Gets the old value of a property. Inherited from ValueChangedEventArgs. |
Remarks
The IndicatorEnter event occurs if any value indicator, belonging to the same scale as the current range object, gets its ValueIndicatorBase.Value property greater than or equal to the RangeBase.StartValue and less than the RangeBase.EndValue properties of the current range. Note that the IndicatorEnter event is invoked irrespective of the way an indicator’s value was changed - either via mouse-click on a range or programmatically via code.
The IndicatorEnter and RangeBase.IndicatorLeave events can be used together for various purposes (e.g. to create a state indicator).