6 writes to FirstDisplayedScrollingCol
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DataGridView.cs (1)
3440this.displayedBandsInfo.FirstDisplayedScrollingCol = ComputeFirstVisibleScrollingColumn();
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
4568this.displayedBandsInfo.FirstDisplayedScrollingCol = -1; 4614this.displayedBandsInfo.FirstDisplayedScrollingCol = this.displayedBandsInfo.LastTotallyDisplayedScrollingCol = -1; 4738this.displayedBandsInfo.FirstDisplayedScrollingCol = firstDisplayedScrollingCol; 10414this.displayedBandsInfo.FirstDisplayedScrollingCol = ComputeFirstVisibleScrollingColumn(); 20289this.displayedBandsInfo.FirstDisplayedScrollingCol = -1;
72 references to FirstDisplayedScrollingCol
System.Windows.Forms (72)
winforms\Managed\System\WinForms\DataGridView.cs (15)
3000else if (this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0) 3002firstDisplayedColumnIndex = this.displayedBandsInfo.FirstDisplayedScrollingCol; 3090return this.displayedBandsInfo.FirstDisplayedScrollingCol; 3125if (value == this.displayedBandsInfo.FirstDisplayedScrollingCol) 3145Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0); 3146Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingCol == value || 3147this.Columns.DisplayInOrder(this.displayedBandsInfo.FirstDisplayedScrollingCol, value)); 3149while (this.displayedBandsInfo.FirstDisplayedScrollingCol != value && 3399int oldFirstVisibleScrollingCol = this.displayedBandsInfo.FirstDisplayedScrollingCol; 3446this.displayedBandsInfo.FirstDisplayedScrollingCol > -1) 3454if (oldFirstVisibleScrollingCol == this.displayedBandsInfo.FirstDisplayedScrollingCol) 3458else if (this.Columns.DisplayInOrder(oldFirstVisibleScrollingCol, this.displayedBandsInfo.FirstDisplayedScrollingCol)) 3460scrollEventType = this.Columns.GetColumnCount(DataGridViewElementStates.Visible, oldFirstVisibleScrollingCol, this.displayedBandsInfo.FirstDisplayedScrollingCol) > 1 ? ScrollEventType.LargeIncrement : ScrollEventType.SmallIncrement; 3464Debug.Assert(this.Columns.DisplayInOrder(this.displayedBandsInfo.FirstDisplayedScrollingCol, oldFirstVisibleScrollingCol)); 3465scrollEventType = this.Columns.GetColumnCount(DataGridViewElementStates.Visible, this.displayedBandsInfo.FirstDisplayedScrollingCol, oldFirstVisibleScrollingCol) > 1 ? ScrollEventType.LargeDecrement : ScrollEventType.SmallDecrement;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (57)
3670int firstDisplayedScrollingColumnIndex = this.displayedBandsInfo.FirstDisplayedScrollingCol; 4560int firstDisplayedScrollingCol = this.displayedBandsInfo.FirstDisplayedScrollingCol; 4740Debug.Assert((this.displayedBandsInfo.NumDisplayedScrollingCols > 0 && this.displayedBandsInfo.FirstDisplayedScrollingCol != -1) || 4741(this.displayedBandsInfo.NumDisplayedScrollingCols == 0 && this.displayedBandsInfo.FirstDisplayedScrollingCol == -1)); 5547if (cx < cxMax && this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0) 5554dataGridViewColumn = (DataGridViewColumn)this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 6652int columnIndexTmp = this.displayedBandsInfo.FirstDisplayedScrollingCol; 6672Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingCol != -1); 6673dataGridViewColumnTmp = this.Columns.GetPreviousColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], DataGridViewElementStates.Visible, DataGridViewElementStates.Frozen); 6720this.displayedBandsInfo.FirstDisplayedScrollingCol != -1 && 6721columnIndexTmp != this.displayedBandsInfo.FirstDisplayedScrollingCol && 6722this.Columns.DisplayInOrder(columnIndexTmp, this.displayedBandsInfo.FirstDisplayedScrollingCol) && 6741(this.displayedBandsInfo.FirstDisplayedScrollingCol == -1 || (this.displayedBandsInfo.FirstDisplayedScrollingCol != columnIndexTmp && this.Columns.DisplayInOrder(this.displayedBandsInfo.FirstDisplayedScrollingCol, columnIndexTmp))) && 8303if (!columnFound && this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0) 8305for (dataGridViewColumn = this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 8328if (dataGridViewColumn.Index == this.displayedBandsInfo.FirstDisplayedScrollingCol) 8350if (dataGridViewColumn.Index == this.displayedBandsInfo.FirstDisplayedScrollingCol) 8457if (this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0) 8459dataGridViewColumn = this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 8569if (this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0) 8571dataGridViewColumn = this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 8600dataGridViewColumn = this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 8777Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0); 8807this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0 && 8809this.Columns.GetPreviousColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], DataGridViewElementStates.Visible, DataGridViewElementStates.Frozen) != null)) 8832if (this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0) 8841DataGridViewColumn newFirstVisibleScrollingCol = this.Columns.GetNextColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], 8953this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0 && 8955this.Columns.GetPreviousColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], DataGridViewElementStates.Visible, DataGridViewElementStates.Frozen) != null) 8989if (this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0 && 8993DataGridViewColumn newFirstVisibleScrollingCol = this.Columns.GetNextColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], 9660if (hti.col != this.displayedBandsInfo.FirstDisplayedScrollingCol || this.displayedBandsInfo.LastTotallyDisplayedScrollingCol >= 0) 14806Debug.Assert(this.Columns.DisplayInOrder(dataGridViewColumn.Index, this.displayedBandsInfo.FirstDisplayedScrollingCol)); 17612this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0) 17615if (this.displayedBandsInfo.FirstDisplayedScrollingCol == dataGridViewColumn.Index) 17621else if (this.Columns.DisplayInOrder(this.displayedBandsInfo.FirstDisplayedScrollingCol, dataGridViewColumn.Index)) 19929isLastVisibleColumn = (this.displayedBandsInfo.FirstDisplayedScrollingCol < 0); 19963if (this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0 && cx < scrollingBounds.Width) 19978dataGridViewColumn = this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 26126if (this.displayedBandsInfo.FirstDisplayedScrollingCol != -1 && 26128(columnIndex != this.displayedBandsInfo.FirstDisplayedScrollingCol || this.negOffset > 0)) 26131if (this.Columns.DisplayInOrder(columnIndex, this.displayedBandsInfo.FirstDisplayedScrollingCol)) 26141columnsToScroll = this.Columns.GetColumnCount(DataGridViewElementStates.Visible, columnIndex, this.displayedBandsInfo.FirstDisplayedScrollingCol); 26148else if (columnIndex == this.displayedBandsInfo.FirstDisplayedScrollingCol && this.negOffset > 0) 26172int firstDisplayedScrollingColumn = this.displayedBandsInfo.FirstDisplayedScrollingCol; 26181if (firstDisplayedScrollingColumn == this.displayedBandsInfo.FirstDisplayedScrollingCol) 26200if (firstDisplayedScrollingColumn == this.displayedBandsInfo.FirstDisplayedScrollingCol) 26248Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0); 26249dataGridViewColumnTmp = this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 26264Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingCol >= 0); 26265dataGridViewColumnTmp = this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 26288newFirstVisibleScrollingCol = this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol]; 26310Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingCol >= -1 && this.displayedBandsInfo.FirstDisplayedScrollingCol < this.Columns.Count); 28959int columnIndexTmp = this.displayedBandsInfo.FirstDisplayedScrollingCol;