6 writes to LastTotallyDisplayedScrollingCol
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
4571
this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
= -1;
4614
this.displayedBandsInfo.FirstDisplayedScrollingCol = this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
= -1;
4715
this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
= -1; // no totally visible scrolling column at all
4728
this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
= dataGridViewColumn.Index;
4733
this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
= -1;
20297
this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
= -1;
12 references to LastTotallyDisplayedScrollingCol
System.Windows.Forms (12)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (12)
8834
if (this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
!= -1 &&
8835
this.Columns.GetNextColumn(this.Columns[this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
], DataGridViewElementStates.Visible, DataGridViewElementStates.None) == null)
8990
(this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
== -1 ||
8991
this.Columns.GetNextColumn(this.Columns[this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
], DataGridViewElementStates.Visible, DataGridViewElementStates.None) != null))
9660
if (hti.col != this.displayedBandsInfo.FirstDisplayedScrollingCol || this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
>= 0)
26159
else if (this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
== -1 ||
26160
(this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
!= columnIndex &&
26161
this.Columns.DisplayInOrder(this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
, columnIndex)))
26231
if (this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
>= 0)
26233
dataGridViewColumnTmp = this.Columns[this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
];
26311
Debug.Assert(this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
>= -1 && this.displayedBandsInfo.
LastTotallyDisplayedScrollingCol
< this.Columns.Count);