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)
343SmallChange = 1,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
383SmallChange = 1
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
354SmallChange = 1,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
369SmallChange = 1,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
274SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
327SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
365SmallChange = 1
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
338SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
353SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
274SmallChange = 1,
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
269SmallChange = 1,
System\Windows\Forms\ScrollBarTests.cs (9)
608SmallChange = 10, 1274SmallChange = value 1280control.SmallChange = value; 1291SmallChange = 11 1319control.SmallChange = value; 1327control.SmallChange = value; 1355control.SmallChange = value; 1363control.SmallChange = value; 1375Assert.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)
162internal override double SmallChange => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.SmallChange : base.SmallChange;
System.Windows.Forms.Tests (33)
System\Windows\Forms\HScrollBarTests.cs (1)
108Assert.Equal(1, control.SmallChange);
System\Windows\Forms\ScrollBarTests.cs (31)
96Assert.Equal(1, control.SmallChange); 843Assert.Equal(1, control.SmallChange); 852Assert.Equal(1, control.SmallChange); 877Assert.Equal(1, control.SmallChange); 899Assert.Equal(1, control.SmallChange); 940Assert.Equal(1, control.SmallChange); 962Assert.Equal(1, control.SmallChange); 993Assert.Equal(1, control.SmallChange); 1008Assert.Equal(1, control.SmallChange); 1027Assert.Equal(1, control.SmallChange); 1036Assert.Equal(1, control.SmallChange); 1063Assert.Equal(1, control.SmallChange); 1085Assert.Equal(1, control.SmallChange); 1126Assert.Equal(1, control.SmallChange); 1148Assert.Equal(1, control.SmallChange); 1178Assert.Equal(1, control.SmallChange); 1276Assert.Equal(expected, control.SmallChange); 1281Assert.Equal(expected, control.SmallChange); 1293Assert.Equal(10, control.SmallChange); 1298Assert.Equal(11, control.SmallChange); 1320Assert.Equal(expected, control.SmallChange); 1328Assert.Equal(expected, control.SmallChange); 1356Assert.Equal(expected, control.SmallChange); 1364Assert.Equal(expected, control.SmallChange); 1376Assert.Equal(1, control.SmallChange); 1573Assert.Equal(1, control.SmallChange); 1582Assert.Equal(1, control.SmallChange); 1608Assert.Equal(1, control.SmallChange); 1630Assert.Equal(1, control.SmallChange); 1672Assert.Equal(1, control.SmallChange); 1694Assert.Equal(1, control.SmallChange);
System\Windows\Forms\VScrollBarTests.cs (1)
107Assert.Equal(1, control.SmallChange);