Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public event IndicatorEnterEventHandler IndicatorEnter

#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).

See Also