using Avalonia.Interactivity; namespace Ursa.Controls; public class ValueChangedEventArgs: RoutedEventArgs where T: struct, IComparable { public ValueChangedEventArgs(RoutedEvent routedEvent, T? oldValue, T? newValue): base(routedEvent) { OldValue = oldValue; NewValue = newValue; } public T? OldValue { get; } public T? NewValue { get; } }