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