format and fix step

This commit is contained in:
heartacker
2024-03-20 20:28:41 +08:00
parent 21e6a2e996
commit 09f345092d
2 changed files with 9 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ public class NumericUIntUpDown : NumericUpDownBase<uint>
{
MaximumProperty.OverrideDefaultValue<NumericUIntUpDown>(uint.MaxValue);
MinimumProperty.OverrideDefaultValue<NumericUIntUpDown>(uint.MinValue);
StepProperty.OverrideDefaultValue<NumericUIntUpDown>(0);
StepProperty.OverrideDefaultValue<NumericUIntUpDown>(1);
}
protected override bool ParseText(string? text, out uint number)