Occurs when any value indicator leaves the current range.
public event IndicatorLeaveEventHandler IndicatorLeave
Public Event IndicatorLeave As IndicatorLeaveEventHandler
The IndicatorLeave event handler receives an argument of the IndicatorLeaveEventArgs type. The following properties provide information specific to this event.
|Indicator||Gets the object for which either the RangeBase.IndicatorEnter or RangeBase.IndicatorLeave event has been raised.|
|NewValue||Gets the new value of a property.|
|OldValue||Gets the old value of a property.|
The IndicatorLeave event occurs if a value indicator that previously entered the current range (for which the RangeBase.IndicatorEnter event was raised) now has a ValueIndicatorBase.Value property that is 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 in code.
The RangeBase.IndicatorEnter and IndicatorLeave events can be used together for various purposes (e.g., to create a state indicator).