Back to Devexpress

RangeBase.IndicatorEnter Event

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

latest2.8 KB
Original Source

RangeBase.IndicatorEnter Event

Occurs when any value indicator enters the current range.

Namespace : DevExpress.Xpf.Gauges

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public event IndicatorEnterEventHandler IndicatorEnter
vb
Public Event IndicatorEnter As IndicatorEnterEventHandler

Event Data

The IndicatorEnter event's data class is IndicatorEnterEventArgs. 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 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).

See Also

IndicatorLeave

RangeBase Class

RangeBase Members

DevExpress.Xpf.Gauges Namespace