6 writes to _trackColumn
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
2486
_trackColumn
= index;
2497
_trackColumn
= columnIndex;
12202
_trackColumn
= hti._col;
13764
_trackColumn
= hti._col;
25841
_trackColumn
= -1;
25878
_trackColumn
= -1;
40 references to _trackColumn
System.Windows.Forms (40)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (40)
2976
mouseX + _mouseBarOffset - Columns[
_trackColumn
].Thickness + 1,
2978
Columns[
_trackColumn
].Thickness,
2988
Columns[
_trackColumn
].Thickness,
3687
if (
_trackColumn
!= previousColumnIndex
3688
&& !(previousColumnIndex == -1 && hti._col ==
_trackColumn
)
3689
&& (dataGridViewColumnNext is null ||
_trackColumn
!= dataGridViewColumnNext.Index))
3698
if (hti._col !=
_trackColumn
)
6075
Columns[
_trackColumn
].DisplayIndex = 0;
6077
else if (Columns[
_trackColumn
].DisplayIndex > Columns[previousColumnIndex].DisplayIndex)
6079
Columns[
_trackColumn
].DisplayIndex = Columns[previousColumnIndex].DisplayIndex + 1;
6083
Columns[
_trackColumn
].DisplayIndex = Columns[previousColumnIndex].DisplayIndex;
6111
delta = GetColumnXFromIndex(
_trackColumn
) - Columns[
_trackColumn
].Thickness - newX + 1;
6116
delta = newX - (GetColumnXFromIndex(
_trackColumn
) + Columns[
_trackColumn
].Thickness) + 1;
6121
int proposed = Columns[
_trackColumn
].Thickness + delta;
6122
Debug.Assert(proposed >= Columns[
_trackColumn
].MinimumThickness);
6124
Columns[
_trackColumn
].Thickness = proposed;
14140
if (_trackColumnEdge >= 0 && (Columns.DisplayInOrder(
_trackColumn
, _trackColumnEdge) || _trackColumnEdge ==
_trackColumn
) && Columns.DisplayInOrder(_trackColumnEdge, hti._col))
14147
else if (_trackColumnEdge >= 0 && Columns.DisplayInOrder(
_trackColumn
, _trackColumnEdge) && Columns.DisplayInOrder(hti._col, _trackColumnEdge) && (Columns.DisplayInOrder(
_trackColumn
, hti._col) || hti._col ==
_trackColumn
))
14154
else if (_trackColumnEdge == -1 && Columns.DisplayInOrder(
_trackColumn
, hti._col))
14156
DataGridViewColumn? dataGridViewColumn = Columns.GetNextColumn(Columns[
_trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14161
else if (_trackColumnEdge >= 0 && (Columns.DisplayInOrder(_trackColumnEdge,
_trackColumn
) || _trackColumnEdge ==
_trackColumn
) && Columns.DisplayInOrder(hti._col, _trackColumnEdge))
14168
else if (_trackColumnEdge >= 0 && Columns.DisplayInOrder(_trackColumnEdge,
_trackColumn
) && Columns.DisplayInOrder(_trackColumnEdge, hti._col) && (Columns.DisplayInOrder(hti._col,
_trackColumn
) || hti._col ==
_trackColumn
))
14175
else if (_trackColumnEdge == -1 && Columns.DisplayInOrder(hti._col,
_trackColumn
))
14177
DataGridViewColumn? dataGridViewColumn = Columns.GetPreviousColumn(Columns[
_trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14182
else if (_trackColumnEdge >= 0 && Columns.DisplayInOrder(
_trackColumn
, _trackColumnEdge) && Columns.DisplayInOrder(hti._col,
_trackColumn
))
14184
DataGridViewColumn? dataGridViewColumn = Columns.GetNextColumn(Columns[
_trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14187
dataGridViewColumn = Columns.GetPreviousColumn(Columns[
_trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14192
else if (_trackColumnEdge >= 0 && Columns.DisplayInOrder(
_trackColumn
, hti._col) && Columns.DisplayInOrder(_trackColumnEdge,
_trackColumn
))
14194
DataGridViewColumn? dataGridViewColumn = Columns.GetPreviousColumn(Columns[
_trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14197
dataGridViewColumn = Columns.GetNextColumn(Columns[
_trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);