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)
5634if (_trackColumnEdge == -1) 5646if (Columns.GetNextColumn(Columns[_trackColumnEdge], DataGridViewElementStates.Visible, DataGridViewElementStates.None) is null) 5661GetColumnXFromIndex(_trackColumnEdge) - Columns[_trackColumnEdge].Width - offsetFromCenter) 5663GetColumnXFromIndex(_trackColumnEdge) + Columns[_trackColumnEdge].Width - offsetFromCenter, 8688&& _trackColumnEdge != -1 8689&& Columns[_trackColumnEdge].Frozen 8716&& (!Columns[_ptAnchorCell.X].Frozen || (_trackColumnEdge != -1 && !Columns[_trackColumnEdge].Frozen)) 14140if (_trackColumnEdge >= 0 && (Columns.DisplayInOrder(_trackColumn, _trackColumnEdge) || _trackColumnEdge == _trackColumn) && Columns.DisplayInOrder(_trackColumnEdge, hti._col)) 14142DataGridViewColumn? dataGridViewColumn = Columns.GetNextColumn(Columns[_trackColumnEdge], DataGridViewElementStates.Visible, DataGridViewElementStates.None); 14147else if (_trackColumnEdge >= 0 && Columns.DisplayInOrder(_trackColumn, _trackColumnEdge) && Columns.DisplayInOrder(hti._col, _trackColumnEdge) && (Columns.DisplayInOrder(_trackColumn, hti._col) || hti._col == _trackColumn)) 14151SelectColumnRange(dataGridViewColumn.Index, _trackColumnEdge, false); 14154else if (_trackColumnEdge == -1 && Columns.DisplayInOrder(_trackColumn, hti._col)) 14161else if (_trackColumnEdge >= 0 && (Columns.DisplayInOrder(_trackColumnEdge, _trackColumn) || _trackColumnEdge == _trackColumn) && Columns.DisplayInOrder(hti._col, _trackColumnEdge)) 14163DataGridViewColumn? dataGridViewColumn = Columns.GetPreviousColumn(Columns[_trackColumnEdge], DataGridViewElementStates.Visible, DataGridViewElementStates.None); 14168else if (_trackColumnEdge >= 0 && Columns.DisplayInOrder(_trackColumnEdge, _trackColumn) && Columns.DisplayInOrder(_trackColumnEdge, hti._col) && (Columns.DisplayInOrder(hti._col, _trackColumn) || hti._col == _trackColumn)) 14172SelectColumnRange(_trackColumnEdge, dataGridViewColumn.Index, false); 14175else if (_trackColumnEdge == -1 && Columns.DisplayInOrder(hti._col, _trackColumn)) 14182else if (_trackColumnEdge >= 0 && Columns.DisplayInOrder(_trackColumn, _trackColumnEdge) && Columns.DisplayInOrder(hti._col, _trackColumn)) 14186SelectColumnRange(dataGridViewColumn.Index, _trackColumnEdge, false); 14192else if (_trackColumnEdge >= 0 && Columns.DisplayInOrder(_trackColumn, hti._col) && Columns.DisplayInOrder(_trackColumnEdge, _trackColumn)) 14196SelectColumnRange(_trackColumnEdge, dataGridViewColumn.Index, false);