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)
291upDown.Increment = 2; 294upDown.Increment = 0; 302Action act = () => upDown.Increment = -1; 310upDown.Increment = 2; 313upDown.Increment = 0; 587upDown.Increment = 5; 648using NumericUpDown upDown = new() { Value = 0, Minimum = 0, Increment = 1 }; 656using NumericUpDown upDown = new() { Value = 10, Increment = 1, Text = "Not a number" }; 664using NumericUpDown upDown = new() { Value = 10, Minimum = 0, Maximum = 20, Increment = 1, Text = "30" }; 690Increment = 10 741using NumericUpDown upDown = new() { Value = 100, Maximum = 100, Increment = 1 }; 749using NumericUpDown upDown = new() { Value = 10, Increment = 1, Text = "Not a number" }; 757using NumericUpDown upDown = new() { Value = 10, Minimum = 0, Maximum = 20, Increment = 1, Text = "30" }; 810upDown.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)
289upDown.Increment.Should().Be(1); 292upDown.Increment.Should().Be(2); 295upDown.Increment.Should().Be(0); 311upDown.Increment.Should().Be(2); 314upDown.Increment.Should().Be(0); 553upDown.Increment.Should().Be(1); 588upDown.Increment.Should().Be(5);