feat: make CurrentPage independent.

This commit is contained in:
rabbitism
2024-03-16 16:23:19 +08:00
parent 31cd8a4490
commit 5039d3d5fe
4 changed files with 79 additions and 63 deletions

View File

@@ -110,6 +110,15 @@ public abstract class NumericUpDown : TemplatedControl, IClearControl
set => SetValue(AllowSpinProperty, value);
}
public static readonly StyledProperty<bool> ShowButtonSpinnerProperty =
ButtonSpinner.ShowButtonSpinnerProperty.AddOwner<NumericUpDown>();
public bool ShowButtonSpinner
{
get => GetValue(ShowButtonSpinnerProperty);
set => SetValue(ShowButtonSpinnerProperty, value);
}
public event EventHandler<SpinEventArgs>? Spinned;
static NumericUpDown()