4 writes to VerticalScrollingOffset
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
4604VerticalScrollingOffset = _vertScrollBar.Value; 10427VerticalScrollingOffset = _vertScrollBar.Value; 10432VerticalScrollingOffset = ComputeHeightOfScrolledOffRows(); 26393VerticalScrollingOffset -= deltaY;
13 references to VerticalScrollingOffset
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
4090get => VerticalScrollingOffset; 4105if (value == VerticalScrollingOffset) 4110int change = value - VerticalScrollingOffset;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
4607&& (oldVertScrollBarValue != VerticalScrollingOffset 4616Debug.Assert(VerticalScrollingOffset == _vertScrollBar.Value); 8694&& VerticalScrollingOffset != 0) 8711if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 8875&& VerticalScrollingOffset != 0) 8896if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 26396_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) &&