33 writes to LargeChange
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
4550
_vertScrollBar.
LargeChange
= _layout.Data.Height - totalVisibleFrozenHeight;
10322
_horizScrollBar.
LargeChange
= Math.Max(totalVisibleWidth - totalVisibleFrozenWidth - widthNotVisible, 0);
10341
_horizScrollBar.
LargeChange
= 1;
10364
_vertScrollBar.
LargeChange
= _layout.Data.Height - totalVisibleFrozenHeight;
10384
_vertScrollBar.
LargeChange
= 1;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
4816
ScrollBar.
LargeChange
= _visibleRows - 1;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
875
scrollBar.
LargeChange
= displayDimension - offset;
System.Windows.Forms.Design (3)
System\ComponentModel\Design\ByteViewer.cs (3)
486
_scrollBar.
LargeChange
= _rowCount;
495
_scrollBar.
LargeChange
= _rowCount;
573
_scrollBar.
LargeChange
= _rowCount;
System.Windows.Forms.Tests (23)
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
342
LargeChange
= 2,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
380
LargeChange
= 2,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
353
LargeChange
= 2
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
368
LargeChange
= 2
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
273
LargeChange
= 2
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
326
LargeChange
= 2,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
364
LargeChange
= 2,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
337
LargeChange
= 2
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
352
LargeChange
= 2
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
273
LargeChange
= 2
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
268
LargeChange
= 2,
System\Windows\Forms\ScrollBarTests.cs (12)
427
LargeChange
= 15
605
LargeChange
= 15,
692
LargeChange
= value
698
control.
LargeChange
= value;
710
LargeChange
= 7
738
control.
LargeChange
= value;
753
control.
LargeChange
= value;
788
control.
LargeChange
= value;
803
control.
LargeChange
= value;
822
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.
LargeChange
= -1);
1288
LargeChange
= 10,
1295
control.
LargeChange
= 15;
67 references to LargeChange
System.Windows.Forms (34)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
4545
int oldThumbHeight = Math.Max(((_vertScrollBar.Height - 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.
LargeChange
) / _vertScrollBar.Maximum, 8);
4556
(_vertScrollBar.Height - 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.
LargeChange
/ _vertScrollBar.Maximum,
16525
VerticalOffset -= fullNotches * _vertScrollBar.
LargeChange
;
16526
if (Math.Abs(VerticalOffset - originalVerticalOffset) >= Math.Abs(fullNotches * _vertScrollBar.
LargeChange
))
16538
HorizontalOffset -= fullNotches * _horizScrollBar.
LargeChange
;
16539
if (Math.Abs(HorizontalOffset - originalHorizontalOffset) >= Math.Abs(fullNotches * _horizScrollBar.
LargeChange
))
17180
int newHorizontalOffset = _horizScrollBar.Maximum - _horizScrollBar.
LargeChange
- dataGridViewColumn.Thickness;
28465
VerticalOffset += Math.Max(firstDisplayedScrollingRowHeight, _vertScrollBar.
LargeChange
);
28472
VerticalOffset -= _vertScrollBar.
LargeChange
;
28481
if (se.NewValue >= _vertScrollBar.Maximum - _vertScrollBar.
LargeChange
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
2071
|| (newValue + (ScrollBar.
LargeChange
- 1) >= TotalProperties))
3174
int large = fullNotches * _scrollBar.
LargeChange
;
3178
initialOffset -= fullNotches * _scrollBar.
LargeChange
;
3179
if (Math.Abs(initialOffset - originalOffset) >= Math.Abs(fullNotches * _scrollBar.
LargeChange
))
System\Windows\Forms\Printing\PrintPreviewControl.cs (4)
872
int oldLargeChange = scrollBar.
LargeChange
;
879
int diff = scrollBar.
LargeChange
- oldLargeChange;
910
int largeChange = vertical ? _vScrollBar.
LargeChange
: _hScrollBar.
LargeChange
;
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (6)
108
scrollValue = owner._hScrollBar.Value + owner._hScrollBar.
LargeChange
;
116
scrollValue = owner._hScrollBar.Value - owner._hScrollBar.
LargeChange
;
131
scrollValue = owner._vScrollBar.Value + owner._vScrollBar.
LargeChange
;
139
scrollValue = owner._vScrollBar.Value - owner._vScrollBar.
LargeChange
;
181
double percent = owner._hScrollBar.Value * 100.0 / (owner._hScrollBar.Maximum - owner._hScrollBar.
LargeChange
);
195
double percent = owner._vScrollBar.Value * 100.0 / (owner._vScrollBar.Maximum - owner._vScrollBar.
LargeChange
);
System\Windows\Forms\Scrolling\ScrollBar.cs (8)
304
return Math.Min(_smallChange,
LargeChange
);
585
return _minimum + (_maximum -
LargeChange
+ 1) - position;
610
nPage = (uint)
LargeChange
679
newValue = _maximum -
LargeChange
+ 1;
687
newValue = Math.Min(_value + SmallChange, _maximum -
LargeChange
+ 1);
691
newValue = Math.Max(_value -
LargeChange
, _minimum);
695
newValue = Math.Min(_value +
LargeChange
, _maximum -
LargeChange
+ 1);
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (2)
43
internal int UIMaximum => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.Maximum - owner.
LargeChange
+ 1 : 0;
160
internal override double LargeChange => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.
LargeChange
: base.LargeChange;
System.Windows.Forms.Tests (33)
System\Windows\Forms\HScrollBarTests.cs (1)
80
Assert.Equal(10, control.
LargeChange
);
System\Windows\Forms\ScrollBarTests.cs (31)
70
Assert.Equal(10, control.
LargeChange
);
694
Assert.Equal(value, control.
LargeChange
);
699
Assert.Equal(value, control.
LargeChange
);
712
Assert.Equal(6, control.
LargeChange
);
717
Assert.Equal(7, control.
LargeChange
);
739
Assert.Equal(value, control.
LargeChange
);
754
Assert.Equal(value, control.
LargeChange
);
789
Assert.Equal(value, control.
LargeChange
);
804
Assert.Equal(value, control.
LargeChange
);
823
Assert.Equal(10, control.
LargeChange
);
840
Assert.Equal(expectedLargeChange, control.
LargeChange
);
849
Assert.Equal(expectedLargeChange, control.
LargeChange
);
874
Assert.Equal(expectedLargeChange, control.
LargeChange
);
896
Assert.Equal(expectedLargeChange, control.
LargeChange
);
937
Assert.Equal(expectedLargeChange, control.
LargeChange
);
959
Assert.Equal(expectedLargeChange, control.
LargeChange
);
990
Assert.Equal(1, control.
LargeChange
);
1005
Assert.Equal(1, control.
LargeChange
);
1024
Assert.Equal(10, control.
LargeChange
);
1033
Assert.Equal(10, control.
LargeChange
);
1060
Assert.Equal(10, control.
LargeChange
);
1082
Assert.Equal(10, control.
LargeChange
);
1123
Assert.Equal(10, control.
LargeChange
);
1145
Assert.Equal(10, control.
LargeChange
);
1175
Assert.Equal(1, control.
LargeChange
);
1570
Assert.Equal(10, control.
LargeChange
);
1579
Assert.Equal(10, control.
LargeChange
);
1605
Assert.Equal(10, control.
LargeChange
);
1627
Assert.Equal(10, control.
LargeChange
);
1669
Assert.Equal(10, control.
LargeChange
);
1691
Assert.Equal(10, control.
LargeChange
);
System\Windows\Forms\VScrollBarTests.cs (1)
79
Assert.Equal(10, control.
LargeChange
);