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