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