14 writes to _trackColumnEdge
System.Windows.Forms (14)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (14)
2487
_trackColumnEdge
= -1;
6066
_trackColumnEdge
= -1;
10488
_dataGridViewState2[State2_ShowColumnRelocationInsertion] = ColumnRelocationTarget(e, hti, out
_trackColumnEdge
);
12203
_trackColumnEdge
= -1;
13765
_trackColumnEdge
= -1;
14145
_trackColumnEdge
= hti._col;
14152
_trackColumnEdge
= hti._col;
14159
_trackColumnEdge
= hti._col;
14166
_trackColumnEdge
= hti._col;
14173
_trackColumnEdge
= hti._col;
14180
_trackColumnEdge
= hti._col;
14190
_trackColumnEdge
= hti._col;
14200
_trackColumnEdge
= hti._col;
25861
_trackColumnEdge
= -1;
36 references to _trackColumnEdge
System.Windows.Forms (36)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (36)
5634
if (
_trackColumnEdge
== -1)
5646
if (Columns.GetNextColumn(Columns[
_trackColumnEdge
], DataGridViewElementStates.Visible, DataGridViewElementStates.None) is null)
5661
GetColumnXFromIndex(
_trackColumnEdge
) - Columns[
_trackColumnEdge
].Width - offsetFromCenter)
5663
GetColumnXFromIndex(
_trackColumnEdge
) + Columns[
_trackColumnEdge
].Width - offsetFromCenter,
8688
&&
_trackColumnEdge
!= -1
8689
&& Columns[
_trackColumnEdge
].Frozen
8716
&& (!Columns[_ptAnchorCell.X].Frozen || (
_trackColumnEdge
!= -1 && !Columns[
_trackColumnEdge
].Frozen))
14140
if (
_trackColumnEdge
>= 0 && (Columns.DisplayInOrder(_trackColumn,
_trackColumnEdge
) ||
_trackColumnEdge
== _trackColumn) && Columns.DisplayInOrder(
_trackColumnEdge
, hti._col))
14142
DataGridViewColumn? dataGridViewColumn = Columns.GetNextColumn(Columns[
_trackColumnEdge
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14147
else if (
_trackColumnEdge
>= 0 && Columns.DisplayInOrder(_trackColumn,
_trackColumnEdge
) && Columns.DisplayInOrder(hti._col,
_trackColumnEdge
) && (Columns.DisplayInOrder(_trackColumn, hti._col) || hti._col == _trackColumn))
14151
SelectColumnRange(dataGridViewColumn.Index,
_trackColumnEdge
, false);
14154
else if (
_trackColumnEdge
== -1 && Columns.DisplayInOrder(_trackColumn, hti._col))
14161
else if (
_trackColumnEdge
>= 0 && (Columns.DisplayInOrder(
_trackColumnEdge
, _trackColumn) ||
_trackColumnEdge
== _trackColumn) && Columns.DisplayInOrder(hti._col,
_trackColumnEdge
))
14163
DataGridViewColumn? dataGridViewColumn = Columns.GetPreviousColumn(Columns[
_trackColumnEdge
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14168
else if (
_trackColumnEdge
>= 0 && Columns.DisplayInOrder(
_trackColumnEdge
, _trackColumn) && Columns.DisplayInOrder(
_trackColumnEdge
, hti._col) && (Columns.DisplayInOrder(hti._col, _trackColumn) || hti._col == _trackColumn))
14172
SelectColumnRange(
_trackColumnEdge
, dataGridViewColumn.Index, false);
14175
else if (
_trackColumnEdge
== -1 && Columns.DisplayInOrder(hti._col, _trackColumn))
14182
else if (
_trackColumnEdge
>= 0 && Columns.DisplayInOrder(_trackColumn,
_trackColumnEdge
) && Columns.DisplayInOrder(hti._col, _trackColumn))
14186
SelectColumnRange(dataGridViewColumn.Index,
_trackColumnEdge
, false);
14192
else if (
_trackColumnEdge
>= 0 && Columns.DisplayInOrder(_trackColumn, hti._col) && Columns.DisplayInOrder(
_trackColumnEdge
, _trackColumn))
14196
SelectColumnRange(
_trackColumnEdge
, dataGridViewColumn.Index, false);