7 writes to CurrentCell
System.Windows.Forms (7)
winforms\Managed\System\WinForms\DataGrid.cs (6)
1170
this.
CurrentCell
= new DataGridCell(currentRow, value);
1179
CurrentCell
= new DataGridCell(value, currentCol);
3244
CurrentCell
= new DataGridCell(listManager.Position, currentCol);
4101
CurrentCell
= new DataGridCell(location.row, currentCol);
4178
CurrentCell
= target;
4684
CurrentCell
= new DataGridCell(rowNumber, col);
winforms\Managed\System\WinForms\DataGridRow.cs (1)
1066
DataGrid.
CurrentCell
= new DataGridCell(owner.RowNumber, column);
25 references to CurrentCell
System.Windows.Forms (25)
winforms\Managed\System\WinForms\DataGrid.cs (16)
1167
return
CurrentCell
.ColumnNumber;
1176
return
CurrentCell
.RowNumber;
4168
if (policy.AllowEdit &&
CurrentCell
.Equals(target)) {
6419
DataGridCell current = this.
CurrentCell
;
7729
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
7762
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
7770
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
7776
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
7807
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
7846
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
7859
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
8071
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
8074
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
8126
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
8129
Debug.Assert(ListManager.Position ==
CurrentCell
.RowNumber || listManager.Count == 0, "current row out of ssync with DataSource");
9179
DataGridCell cell = DataGrid.
CurrentCell
;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
732
if (r == FocusedRelation && this.number == this.DataGrid.
CurrentCell
.RowNumber) {
winforms\Managed\System\WinForms\DataGridRow.cs (8)
338
int currentColIndex = this.dgTable.DataGrid.
CurrentCell
.ColumnNumber;
484
DataGridCell current = this.dgTable.DataGrid.
CurrentCell
;
607
bounds.X += PaintIcon(g, bounds, RowNumber == this.DataGrid.
CurrentCell
.RowNumber, alignToRight, bmp).Width + xOffset;
614
bounds.X += PaintIcon(g, bounds, RowNumber == this.DataGrid.
CurrentCell
.RowNumber, alignToRight, bmp).Width + xOffset;
805
if (DataGrid.
CurrentCell
.RowNumber == owner.RowNumber) {
845
DataGridCell cell = DataGrid.
CurrentCell
;
960
if (DataGrid.
CurrentCell
.RowNumber == owner.RowNumber
961
&& DataGrid.
CurrentCell
.ColumnNumber == column) {