Example #1
0
 static IntegerUpDown()
 {
     DefaultStyleKeyProperty.OverrideMetadata(typeof(IntegerUpDown), new FrameworkPropertyMetadata(typeof(IntegerUpDown)));
     IncrementProperty.OverrideMetadata(typeof(IntegerUpDown), new FrameworkPropertyMetadata(1));
     MaximumValueProperty.OverrideMetadata(typeof(IntegerUpDown), new FrameworkPropertyMetadata(100));
     MinimumValueProperty.OverrideMetadata(typeof(IntegerUpDown), new FrameworkPropertyMetadata(0));
 }
Example #2
0
 set => SetValue(MinimumValueProperty, value);