10 writes to LargeChange
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
4544_vertScrollBar.LargeChange = _layout.Data.Height - totalVisibleFrozenHeight; 10316_horizScrollBar.LargeChange = Math.Max(totalVisibleWidth - totalVisibleFrozenWidth - widthNotVisible, 0); 10335_horizScrollBar.LargeChange = 1; 10358_vertScrollBar.LargeChange = _layout.Data.Height - totalVisibleFrozenHeight; 10378_vertScrollBar.LargeChange = 1;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
4848ScrollBar.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;
34 references to LargeChange
System.Windows.Forms (34)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
4539int oldThumbHeight = Math.Max(((_vertScrollBar.Height - 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.LargeChange) / _vertScrollBar.Maximum, 8); 4550(_vertScrollBar.Height - 2 * SystemInformation.VerticalScrollBarArrowHeight) * _vertScrollBar.LargeChange / _vertScrollBar.Maximum, 16516VerticalOffset -= fullNotches * _vertScrollBar.LargeChange; 16517if (Math.Abs(VerticalOffset - originalVerticalOffset) >= Math.Abs(fullNotches * _vertScrollBar.LargeChange)) 16529HorizontalOffset -= fullNotches * _horizScrollBar.LargeChange; 16530if (Math.Abs(HorizontalOffset - originalHorizontalOffset) >= Math.Abs(fullNotches * _horizScrollBar.LargeChange)) 17171int newHorizontalOffset = _horizScrollBar.Maximum - _horizScrollBar.LargeChange - dataGridViewColumn.Thickness; 28454VerticalOffset += Math.Max(firstDisplayedScrollingRowHeight, _vertScrollBar.LargeChange); 28461VerticalOffset -= _vertScrollBar.LargeChange; 28470if (se.NewValue >= _vertScrollBar.Maximum - _vertScrollBar.LargeChange)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
2094|| (newValue + (ScrollBar.LargeChange - 1) >= TotalProperties)) 3212int large = fullNotches * _scrollBar.LargeChange; 3216initialOffset -= fullNotches * _scrollBar.LargeChange; 3217if (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)
297return Math.Min(_smallChange, LargeChange); 578return _minimum + (_maximum - LargeChange + 1) - position; 603nPage = (uint)LargeChange 672newValue = _maximum - LargeChange + 1; 680newValue = Math.Min(_value + SmallChange, _maximum - LargeChange + 1); 684newValue = Math.Max(_value - LargeChange, _minimum); 688newValue = 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;