fix typo
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Net.Mime;
|
using System.Net.Mime;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
@@ -318,6 +318,7 @@ public abstract class NumericUpDown : TemplatedControl, IClearControl
|
|||||||
protected abstract void SetValidSpinDirection();
|
protected abstract void SetValidSpinDirection();
|
||||||
|
|
||||||
protected abstract void Increase();
|
protected abstract void Increase();
|
||||||
|
|
||||||
protected abstract void Decrease();
|
protected abstract void Decrease();
|
||||||
|
|
||||||
protected virtual bool CommitInput(bool forceTextUpdate = false)
|
protected virtual bool CommitInput(bool forceTextUpdate = false)
|
||||||
@@ -466,7 +467,7 @@ public abstract class NumericUpDownBase<T> : NumericUpDown where T : struct, ICo
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static readonly StyledProperty<ICommand?> CommandProperty = AvaloniaProperty.Register<Pagination, ICommand?>(
|
public static readonly StyledProperty<ICommand?> CommandProperty = AvaloniaProperty.Register<NumericUpDownBase<T>, ICommand?>(
|
||||||
nameof(Command));
|
nameof(Command));
|
||||||
|
|
||||||
public ICommand? Command
|
public ICommand? Command
|
||||||
@@ -476,7 +477,7 @@ public abstract class NumericUpDownBase<T> : NumericUpDown where T : struct, ICo
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static readonly StyledProperty<object?> CommandParameterProperty =
|
public static readonly StyledProperty<object?> CommandParameterProperty =
|
||||||
AvaloniaProperty.Register<Pagination, object?>(nameof(CommandParameter));
|
AvaloniaProperty.Register<NumericUpDownBase<T>, object?>(nameof(CommandParameter));
|
||||||
|
|
||||||
public object? CommandParameter
|
public object? CommandParameter
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user