RangeBase.IndicatorEnter Event

Occurs when any value indicator enters the current range.

Namespace: DevExpress.UI.Xaml.Gauges

Assembly: DevExpress.UI.Xaml.Gauges.v20.1.dll

Declaration

public event IndicatorEnterEventHandler IndicatorEnter
Public Event IndicatorEnter As IndicatorEnterEventHandler

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, has a 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 a 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).

See Also