16 references to GetColumnXFromIndex
System.Windows.Forms (16)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (16)
2515
this.mouseBarOffset =
GetColumnXFromIndex
(index) - mouseX;
2555
int x =
GetColumnXFromIndex
(columnIndex);
2564
int leftEdge =
GetColumnXFromIndex
(columnIndex);
3700
int xColumnLeftEdge =
GetColumnXFromIndex
(hti.col);
4905
columnX =
GetColumnXFromIndex
(columnIndex);
5693
rectInsertionBar.X =
GetColumnXFromIndex
(this.Columns.GetFirstColumn(DataGridViewElementStates.Visible).Index);
5723
GetColumnXFromIndex
(this.trackColumnEdge) - this.Columns[this.trackColumnEdge].Width - offsetFromCenter);
5727
rectInsertionBar.X = Math.Min(
GetColumnXFromIndex
(this.trackColumnEdge) + this.Columns[this.trackColumnEdge].Width - offsetFromCenter,
6151
delta =
GetColumnXFromIndex
(this.trackColumn) - this.Columns[this.trackColumn].Thickness - newX + 1;
6156
delta = newX - (
GetColumnXFromIndex
(this.trackColumn) + this.Columns[this.trackColumn].Thickness) + 1;
9449
Debug.Assert(xColumnLeftEdge ==
GetColumnXFromIndex
(hti.col));
9628
Debug.Assert(xColumnLeftEdge ==
GetColumnXFromIndex
(hti.col));
14962
int leftEdge =
GetColumnXFromIndex
(e.Column.Index);
20362
int leftEdge =
GetColumnXFromIndex
(this.ptCurrentCell.X);
26177
xColumnRightEdge =
GetColumnXFromIndex
(columnIndex) - this.Columns[columnIndex].Width;
26196
xColumnRightEdge =
GetColumnXFromIndex
(columnIndex) + this.Columns[columnIndex].Width;