24 writes to SmallChange
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
10320_horizScrollBar.SmallChange = 1; 10339_horizScrollBar.SmallChange = 1;
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
70SmallChange = ScrollSmallChange, 83SmallChange = ScrollSmallChange,
System.Windows.Forms.Tests (20)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
341SmallChange = 1,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
381SmallChange = 1
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
352SmallChange = 1,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
367SmallChange = 1,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
272SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
325SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
365SmallChange = 1
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
336SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
351SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
272SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
267SmallChange = 1,
System\Windows\Forms\ScrollBarTests.cs (9)
606SmallChange = 10, 1272SmallChange = value 1278control.SmallChange = value; 1289SmallChange = 11 1317control.SmallChange = value; 1325control.SmallChange = value; 1353control.SmallChange = value; 1361control.SmallChange = value; 1373Assert.Throws<ArgumentOutOfRangeException>("value", () => control.SmallChange = -1);
50 references to SmallChange
System.Windows.Forms (17)
System\Windows\Forms\Printing\PrintPreviewControl.cs (10)
1000if (pos > _vScrollBar.SmallChange) 1002pos -= _vScrollBar.SmallChange; 1018maxPos = _vScrollBar.Maximum - _vScrollBar.SmallChange; 1020if (pos < maxPos - _vScrollBar.SmallChange) 1022pos += _vScrollBar.SmallChange; 1038if (pos > _hScrollBar.SmallChange) 1040pos -= _hScrollBar.SmallChange; 1056maxPos = _hScrollBar.Maximum - _hScrollBar.SmallChange; 1058if (pos < maxPos - _hScrollBar.SmallChange) 1060pos += _hScrollBar.SmallChange;
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (4)
112scrollValue = owner._hScrollBar.Value + owner._hScrollBar.SmallChange; 120scrollValue = owner._hScrollBar.Value - owner._hScrollBar.SmallChange; 135scrollValue = owner._vScrollBar.Value + owner._vScrollBar.SmallChange; 143scrollValue = owner._vScrollBar.Value - owner._vScrollBar.SmallChange;
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
683newValue = Math.Max(_value - SmallChange, _minimum); 687newValue = Math.Min(_value + SmallChange, _maximum - LargeChange + 1);
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (1)
163internal override double SmallChange => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.SmallChange : base.SmallChange;
System.Windows.Forms.Tests (33)
System\Windows\Forms\HScrollBarTests.cs (1)
106Assert.Equal(1, control.SmallChange);
System\Windows\Forms\ScrollBarTests.cs (31)
94Assert.Equal(1, control.SmallChange); 841Assert.Equal(1, control.SmallChange); 850Assert.Equal(1, control.SmallChange); 875Assert.Equal(1, control.SmallChange); 897Assert.Equal(1, control.SmallChange); 938Assert.Equal(1, control.SmallChange); 960Assert.Equal(1, control.SmallChange); 991Assert.Equal(1, control.SmallChange); 1006Assert.Equal(1, control.SmallChange); 1025Assert.Equal(1, control.SmallChange); 1034Assert.Equal(1, control.SmallChange); 1061Assert.Equal(1, control.SmallChange); 1083Assert.Equal(1, control.SmallChange); 1124Assert.Equal(1, control.SmallChange); 1146Assert.Equal(1, control.SmallChange); 1176Assert.Equal(1, control.SmallChange); 1274Assert.Equal(expected, control.SmallChange); 1279Assert.Equal(expected, control.SmallChange); 1291Assert.Equal(10, control.SmallChange); 1296Assert.Equal(11, control.SmallChange); 1318Assert.Equal(expected, control.SmallChange); 1326Assert.Equal(expected, control.SmallChange); 1354Assert.Equal(expected, control.SmallChange); 1362Assert.Equal(expected, control.SmallChange); 1374Assert.Equal(1, control.SmallChange); 1571Assert.Equal(1, control.SmallChange); 1580Assert.Equal(1, control.SmallChange); 1606Assert.Equal(1, control.SmallChange); 1628Assert.Equal(1, control.SmallChange); 1670Assert.Equal(1, control.SmallChange); 1692Assert.Equal(1, control.SmallChange);
System\Windows\Forms\VScrollBarTests.cs (1)
105Assert.Equal(1, control.SmallChange);