using Avalonia.Interactivity; namespace Avalonia.Controls.Primitives { /// /// Provides data specific to a event. /// public class RangeBaseValueChangedEventArgs : RoutedEventArgs { /// /// Initializes a new instance of the class. /// /// The old value of the range value property. /// The new value of the range value property. /// The routed event associated with these event args. public RangeBaseValueChangedEventArgs(double oldValue, double newValue, RoutedEvent? routedEvent) : base(routedEvent) { OldValue = oldValue; NewValue = newValue; } /// /// Initializes a new instance of the class. /// /// The old value of the range value property. /// The new value of the range value property. /// The routed event associated with these event args. /// The source object that raised the routed event. public RangeBaseValueChangedEventArgs(double oldValue, double newValue, RoutedEvent? routedEvent, object? source) : base(routedEvent, source) { OldValue = oldValue; NewValue = newValue; } /// /// Gets the old value of the range value property. /// public double OldValue { get; init; } /// /// Gets the new value of the range value property. /// public double NewValue { get; init; } } }