15 writes to Increment
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
584Increment = DefaultIncrement;
System.Windows.Forms.Tests (14)
NumericUpDownTests.cs (14)
293upDown.Increment = 2; 296upDown.Increment = 0; 304Action act = () => upDown.Increment = -1; 312upDown.Increment = 2; 315upDown.Increment = 0; 589upDown.Increment = 5; 650using NumericUpDown upDown = new() { Value = 0, Minimum = 0, Increment = 1 }; 658using NumericUpDown upDown = new() { Value = 10, Increment = 1, Text = "Not a number" }; 666using NumericUpDown upDown = new() { Value = 10, Minimum = 0, Maximum = 20, Increment = 1, Text = "30" }; 692Increment = 10 743using NumericUpDown upDown = new() { Value = 100, Maximum = 100, Increment = 1 }; 751using NumericUpDown upDown = new() { Value = 10, Increment = 1, Text = "Not a number" }; 759using NumericUpDown upDown = new() { Value = 10, Minimum = 0, Maximum = 20, Increment = 1, Text = "30" }; 812upDown.Increment = 2;
11 references to Increment
System.Windows.Forms (4)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (4)
391newValue -= Increment; 603/// Indicates whether the <see cref="Increment"/> property should be 608return !Increment.Equals(DefaultIncrement); 680newValue += Increment;
System.Windows.Forms.Tests (7)
NumericUpDownTests.cs (7)
291upDown.Increment.Should().Be(1); 294upDown.Increment.Should().Be(2); 297upDown.Increment.Should().Be(0); 313upDown.Increment.Should().Be(2); 316upDown.Increment.Should().Be(0); 555upDown.Increment.Should().Be(1); 590upDown.Increment.Should().Be(5);