Back to Devexpress

RangeBase.IndicatorLeave Event

wpf-devexpress-dot-xpf-dot-gauges-dot-rangebase-e156ad78.md

latest2.9 KB
Original Source

RangeBase.IndicatorLeave Event

Occurs when any value indicator leaves the current range.

Namespace : DevExpress.Xpf.Gauges

Assembly : DevExpress.Xpf.Gauges.v25.2.dll

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public event IndicatorLeaveEventHandler IndicatorLeave
vb
Public Event IndicatorLeave As IndicatorLeaveEventHandler

Event Data

The IndicatorLeave event's data class is IndicatorLeaveEventArgs. The following properties provide information specific to this event:

PropertyDescription
IndicatorGets the object, for which either the RangeBase.IndicatorEnter or RangeBase.IndicatorLeave event has been raised. Inherited from IndicatorEnterLeaveEventArgs.
NewValueGets the new value of a property. Inherited from ValueChangedEventArgs.
OldValueGets the old value of a property. Inherited from ValueChangedEventArgs.

Remarks

The IndicatorLeave event occurs if a value indicator that previously entered the current range (for which the RangeBase.IndicatorEnter event was raised) now gets its ValueIndicatorBase.Value property less than the RangeBase.StartValue or greater than or equal to the RangeBase.EndValue properties of the current range. Note that the IndicatorLeave 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 RangeBase.IndicatorEnter and IndicatorLeave events can be used together for various purposes (e.g. to create a state indicator).

See Also

IndicatorEnter

RangeBase Class

RangeBase Members

DevExpress.Xpf.Gauges Namespace