6 writes to trackColumn
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
2512
this.
trackColumn
= index;
2523
this.
trackColumn
= columnIndex;
12558
this.
trackColumn
= hti.col;
14232
this.
trackColumn
= hti.col;
25969
this.
trackColumn
= -1;
26002
this.
trackColumn
= -1;
40 references to trackColumn
System.Windows.Forms (40)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (40)
3022
r = new Rectangle(mouseX + this.mouseBarOffset - this.Columns[this.
trackColumn
].Thickness + 1,
3024
this.Columns[this.
trackColumn
].Thickness,
3031
r = new Rectangle(mouseX + this.mouseBarOffset - 1, inside.Y, this.Columns[this.
trackColumn
].Thickness, inside.Height);
3732
if (this.
trackColumn
!= previousColumnIndex &&
3733
!(previousColumnIndex == -1 && hti.col == this.
trackColumn
) &&
3734
(dataGridViewColumnNext == null || this.
trackColumn
!= dataGridViewColumnNext.Index))
3743
if (hti.col != this.
trackColumn
)
6115
this.Columns[this.
trackColumn
].DisplayIndex = 0;
6117
else if (this.Columns[this.
trackColumn
].DisplayIndex > this.Columns[previousColumnIndex].DisplayIndex)
6119
this.Columns[this.
trackColumn
].DisplayIndex = this.Columns[previousColumnIndex].DisplayIndex + 1;
6123
this.Columns[this.
trackColumn
].DisplayIndex = this.Columns[previousColumnIndex].DisplayIndex;
6151
delta = GetColumnXFromIndex(this.
trackColumn
) - this.Columns[this.
trackColumn
].Thickness - newX + 1;
6156
delta = newX - (GetColumnXFromIndex(this.
trackColumn
) + this.Columns[this.
trackColumn
].Thickness) + 1;
6161
int proposed = this.Columns[this.
trackColumn
].Thickness + delta;
6162
Debug.Assert(proposed >= this.Columns[this.
trackColumn
].MinimumThickness);
6164
this.Columns[this.
trackColumn
].Thickness = proposed;
14614
if (this.trackColumnEdge >= 0 && (this.Columns.DisplayInOrder(this.
trackColumn
, this.trackColumnEdge) || this.trackColumnEdge == this.
trackColumn
) && this.Columns.DisplayInOrder(this.trackColumnEdge, hti.col))
14621
else 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
))
14628
else if (this.trackColumnEdge == -1 && this.Columns.DisplayInOrder(this.
trackColumn
, hti.col))
14630
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[this.
trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14635
else if (this.trackColumnEdge >= 0 && (this.Columns.DisplayInOrder(this.trackColumnEdge, this.
trackColumn
) || this.trackColumnEdge == this.
trackColumn
) && this.Columns.DisplayInOrder(hti.col, this.trackColumnEdge))
14642
else 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
))
14649
else if (this.trackColumnEdge == -1 && this.Columns.DisplayInOrder(hti.col, this.
trackColumn
))
14651
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[this.
trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14656
else if (this.trackColumnEdge >= 0 && this.Columns.DisplayInOrder(this.
trackColumn
, this.trackColumnEdge) && this.Columns.DisplayInOrder(hti.col, this.
trackColumn
))
14658
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[this.
trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14661
dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[this.
trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14666
else if (this.trackColumnEdge >= 0 && this.Columns.DisplayInOrder(this.
trackColumn
, hti.col) && this.Columns.DisplayInOrder(this.trackColumnEdge, this.
trackColumn
))
14668
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[this.
trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);
14671
dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[this.
trackColumn
], DataGridViewElementStates.Visible, DataGridViewElementStates.None);