4 writes to VerticalScrollingOffset
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
4545VerticalScrollingOffset = _vertScrollBar.Value; 10368VerticalScrollingOffset = _vertScrollBar.Value; 10373VerticalScrollingOffset = ComputeHeightOfScrolledOffRows(); 26320VerticalScrollingOffset -= deltaY;
13 references to VerticalScrollingOffset
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
4085get => VerticalScrollingOffset; 4100if (value == VerticalScrollingOffset) 4105int change = value - VerticalScrollingOffset;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
4548&& (oldVertScrollBarValue != VerticalScrollingOffset 4557Debug.Assert(VerticalScrollingOffset == _vertScrollBar.Value); 8635&& VerticalScrollingOffset != 0) 8652if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 8816&& VerticalScrollingOffset != 0) 8837if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 26323_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) &&