Class RangeBaseValueChangedEventArgs
- Namespace
- Avalonia.Controls.Primitives
- Assembly
- Avalonia.Controls.dll
Provides data specific to a ValueChanged event.
public class RangeBaseValueChangedEventArgs : RoutedEventArgs
- Inheritance
-
RangeBaseValueChangedEventArgs
- Inherited Members
Constructors
RangeBaseValueChangedEventArgs(double, double, RoutedEvent?)
Initializes a new instance of the RangeBaseValueChangedEventArgs class.
public RangeBaseValueChangedEventArgs(double oldValue, double newValue, RoutedEvent? routedEvent)
Parameters
oldValue
doubleThe old value of the range value property.
newValue
doubleThe new value of the range value property.
routedEvent
RoutedEventThe routed event associated with these event args.
RangeBaseValueChangedEventArgs(double, double, RoutedEvent?, object?)
Initializes a new instance of the RangeBaseValueChangedEventArgs class.
public RangeBaseValueChangedEventArgs(double oldValue, double newValue, RoutedEvent? routedEvent, object? source)
Parameters
oldValue
doubleThe old value of the range value property.
newValue
doubleThe new value of the range value property.
routedEvent
RoutedEventThe routed event associated with these event args.
source
objectThe source object that raised the routed event.
Properties
NewValue
Gets the new value of the range value property.
public double NewValue { get; init; }
Property Value
OldValue
Gets the old value of the range value property.
public double OldValue { get; init; }