Skip to main content

ValueChangedEventArgs Class

Provides data for the ValueIndicatorBase.ValueChanged event.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Package: DevExpress.Wpf.Gauges

Declaration

[NonCategorized]
public class ValueChangedEventArgs :
    EventArgs

Remarks

The ValueIndicatorBase.ValueChanged event occurs when the ValueIndicatorBase.Value property has been changed. Note that this 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 ValueChangedEventArgs class provides the ValueChangedEventArgs.OldValue and ValueChangedEventArgs.NewValue properties that return the previous and current values of the ValueIndicatorBase.Value property.

An instance of the ValueChangedEventArgs class with appropriate settings is automatically created and passed to the corresponding event’s handler.

See Also