4 writes to VerticalScrollingOffset
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
4551VerticalScrollingOffset = _vertScrollBar.Value; 10373VerticalScrollingOffset = _vertScrollBar.Value; 10378VerticalScrollingOffset = ComputeHeightOfScrolledOffRows(); 26312VerticalScrollingOffset -= deltaY;
13 references to VerticalScrollingOffset
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
4084get => VerticalScrollingOffset; 4099if (value == VerticalScrollingOffset) 4104int change = value - VerticalScrollingOffset;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
4554&& (oldVertScrollBarValue != VerticalScrollingOffset 4563Debug.Assert(VerticalScrollingOffset == _vertScrollBar.Value); 8640&& VerticalScrollingOffset != 0) 8657if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 8821&& VerticalScrollingOffset != 0) 8842if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 26315_vertScrollBar.Value = VerticalScrollingOffset;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (3)
2001useRowShortcut = GetRowsHeightExceedLimit(DataGridViewElementStates.Visible, 0, rowIndex, DataGridView.LayoutInfo.Data.Height + DataGridView.VerticalScrollingOffset) && 2011int displayedRowsHeightBeforeAddition = GetRowsHeight(DataGridViewElementStates.Visible) - DataGridView.VerticalScrollingOffset - dataGridViewRow.GetHeight(rowIndex); 2053useRowShortcut = GetRowsHeightExceedLimit(DataGridViewElementStates.Visible, 0, rowIndex, DataGridView.LayoutInfo.Data.Height + DataGridView.VerticalScrollingOffset + SystemInformation.HorizontalScrollBarHeight) &&