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