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