예제 #1
0
        private void ValueChanged(DoubleEditor doubleEditor, AvaloniaPropertyChangedEventArgs e)
        {
            if (!doubleEditor.IsInitialized)
            {
                return;
            }

            doubleEditor.Value = doubleEditor.EnforceLimitsAndPrecision((double)e.NewValue);
        }
예제 #2
0
 private void OnMinimumChanged(DoubleEditor doubleEditor, AvaloniaPropertyChangedEventArgs e)
 {
 }
예제 #3
0
 private void OnIsDraggingChanged(DoubleEditor doubleEditor, AvaloniaPropertyChangedEventArgs e)
 {
     doubleEditor.OnIsDraggingChanged();
 }