14 writes to trackColumnEdge
System.Windows.Forms (14)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (14)
2513this.trackColumnEdge = -1; 6105this.trackColumnEdge = -1; 10668this.dataGridViewState2[DATAGRIDVIEWSTATE2_showColumnRelocationInsertion] = ColumnRelocationTarget(e, hti, out this.trackColumnEdge); 12559this.trackColumnEdge = -1; 14233this.trackColumnEdge = -1; 14619this.trackColumnEdge = hti.col; 14626this.trackColumnEdge = hti.col; 14633this.trackColumnEdge = hti.col; 14640this.trackColumnEdge = hti.col; 14647this.trackColumnEdge = hti.col; 14654this.trackColumnEdge = hti.col; 14664this.trackColumnEdge = hti.col; 14674this.trackColumnEdge = hti.col; 25987this.trackColumnEdge = -1;
36 references to trackColumnEdge
System.Windows.Forms (36)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (36)
5690if (this.trackColumnEdge == -1) 5702if (this.Columns.GetNextColumn(this.Columns[this.trackColumnEdge], DataGridViewElementStates.Visible, DataGridViewElementStates.None) == null) 5723GetColumnXFromIndex(this.trackColumnEdge) - this.Columns[this.trackColumnEdge].Width - offsetFromCenter); 5727rectInsertionBar.X = Math.Min(GetColumnXFromIndex(this.trackColumnEdge) + this.Columns[this.trackColumnEdge].Width - offsetFromCenter, 8771this.trackColumnEdge != -1 && 8772this.Columns[this.trackColumnEdge].Frozen && 8806(this.trackColumnEdge != -1 && !this.Columns[this.trackColumnEdge].Frozen)) && 14614if (this.trackColumnEdge >= 0 && (this.Columns.DisplayInOrder(this.trackColumn, this.trackColumnEdge) || this.trackColumnEdge == this.trackColumn) && this.Columns.DisplayInOrder(this.trackColumnEdge, hti.col)) 14616DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[this.trackColumnEdge], DataGridViewElementStates.Visible, DataGridViewElementStates.None); 14621else if (this.trackColumnEdge >= 0 && this.Columns.DisplayInOrder(this.trackColumn, this.trackColumnEdge) && this.Columns.DisplayInOrder(hti.col, this.trackColumnEdge) && (this.Columns.DisplayInOrder(this.trackColumn, hti.col) || hti.col == this.trackColumn)) 14625SelectColumnRange(dataGridViewColumn.Index, this.trackColumnEdge, false); 14628else if (this.trackColumnEdge == -1 && this.Columns.DisplayInOrder(this.trackColumn, hti.col)) 14635else if (this.trackColumnEdge >= 0 && (this.Columns.DisplayInOrder(this.trackColumnEdge, this.trackColumn) || this.trackColumnEdge == this.trackColumn) && this.Columns.DisplayInOrder(hti.col, this.trackColumnEdge)) 14637DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[this.trackColumnEdge], DataGridViewElementStates.Visible, DataGridViewElementStates.None); 14642else if (this.trackColumnEdge >= 0 && this.Columns.DisplayInOrder(this.trackColumnEdge, this.trackColumn) && this.Columns.DisplayInOrder(this.trackColumnEdge, hti.col) && (this.Columns.DisplayInOrder(hti.col, this.trackColumn) || hti.col == this.trackColumn)) 14646SelectColumnRange(this.trackColumnEdge, dataGridViewColumn.Index, false); 14649else if (this.trackColumnEdge == -1 && this.Columns.DisplayInOrder(hti.col, this.trackColumn)) 14656else if (this.trackColumnEdge >= 0 && this.Columns.DisplayInOrder(this.trackColumn, this.trackColumnEdge) && this.Columns.DisplayInOrder(hti.col, this.trackColumn)) 14660SelectColumnRange(dataGridViewColumn.Index, this.trackColumnEdge, false); 14666else if (this.trackColumnEdge >= 0 && this.Columns.DisplayInOrder(this.trackColumn, hti.col) && this.Columns.DisplayInOrder(this.trackColumnEdge, this.trackColumn)) 14670SelectColumnRange(this.trackColumnEdge, dataGridViewColumn.Index, false);