6 writes to currentCol
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DataGrid.cs (5)
970
currentCol
= newCol;
1081
currentCol
= currentColSaved;
1105
currentCol
= newCol;
3689
currentCol
= currentColSaved;
8825
currentCol
= 0;
winforms\Managed\System\WinForms\DataGridState.cs (1)
132
dataGrid.
currentCol
= CurrentCol;
34 references to currentCol
System.Windows.Forms (34)
winforms\Managed\System\WinForms\DataGrid.cs (33)
899
return new DataGridCell(currentRow,
currentCol
);
906
if (value.RowNumber == currentRow && value.ColumnNumber ==
currentCol
)
915
int currentColSaved =
currentCol
;
947
if (
currentCol
!= newCol) {
1112
EnsureVisible(currentRow,
currentCol
);
1146
currentCellAccIndex += (this.currentRow * this.myGridTable.GridColumnStyles.Count) + this.
currentCol
;
1179
CurrentCell = new DataGridCell(value,
currentCol
);
2272
if (
currentCol
>= firstVisibleCol &&
currentCol
< firstVisibleCol + numVisibleCols - 1 && (gridState[GRIDSTATE_isEditing] || gridState[GRIDSTATE_isNavigating]))
3244
CurrentCell = new DataGridCell(listManager.Position,
currentCol
);
3671
int currentColSaved =
currentCol
;
4000
if (coll != null &&
currentCol
> 0 &&
currentCol
< coll.Count) {
4001
if (!coll[
currentCol
].ReadOnly)
4101
CurrentCell = new DataGridCell(location.row,
currentCol
);
4173
EnsureVisible(currentRow,
currentCol
);
5895
", currentCol = " +
currentCol
.ToString(CultureInfo.InvariantCulture) + (displayText != null ? ", displayText= " + displayText : ""));
5916
editColumn = myGridTable.GridColumnStyles[
currentCol
];
5923
currentCol
< firstVisibleCol ||
currentCol
> firstVisibleCol + numVisibleCols - 1 ||
5924
(
currentCol
== firstVisibleCol && negOffset != 0))
5930
cellBounds = GetCellBounds(currentRow,
currentCol
);
6033
if (bounds.IsEmpty && this.editColumn is DataGridTextBoxColumn && this.currentRow != -1 && this.
currentCol
!= -1) {
6037
Rectangle editBounds = this.GetCellBounds(this.currentRow, this.
currentCol
);
7517
if (
currentCol
>= 0 &&
currentCol
< columns.Count)
7519
DataGridColumnStyle column = columns[
currentCol
];
7985
if (
currentCol
== firstColumnMarkedVisible && currentRow != 0)
7993
int newCol = MoveLeftRight(this.myGridTable.GridColumnStyles,
currentCol
, false);
8017
if (
currentCol
== lastColumnMarkedVisible && currentRow != DataGridRowsLength - 1)
8024
int newCol = MoveLeftRight(this.myGridTable.GridColumnStyles, this.
currentCol
, true);
8447
int nextCol = MoveLeftRight(cols,
currentCol
, true); // true for going right;
8467
int prevCol = MoveLeftRight(cols,
currentCol
, false); // false for going left
winforms\Managed\System\WinForms\DataGridState.cs (1)
104
this.CurrentCol = dataGrid.
currentCol
;