12 writes to CurrentCell
System.Windows.Forms (9)
winforms\Managed\System\WinForms\DataGridView.cs (2)
2379this.CurrentCell = null; 2432this.CurrentCell = null;
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
5399this.owner.DataGridView.CurrentCell = this.owner; // Do not change old selection
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1890dataGridView.CurrentCell = dataGridViewCell;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
11660this.CurrentCell = null; 13645this.CurrentCell = null; 13680this.CurrentCell = null;
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
2331dataGridView.CurrentCell = this.owner.Cells[dataGridView.CurrentCell.OwningColumn.Index]; // Do not change old selection 2338dataGridView.CurrentCell = this.owner.Cells[firstVisibleCell]; // Do not change old selection
System.WorkflowServices (3)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (3)
167this.parametersGrid.CurrentCell = this.parametersGrid.Rows[this.parametersGrid.Rows.Count - 2].Cells[this.nameColumn.Index]; 298this.parametersGrid.CurrentCell = currentRow.Cells[this.nameColumn.Index]; 313this.parametersGrid.CurrentCell = currentRow.Cells[this.nameColumn.Index];
28 references to CurrentCell
System.Windows.Forms (27)
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (4)
177if (this.owner.Focused && this.owner.CurrentCell != null) 179return this.owner.CurrentCell.AccessibilityObject; 531var currentCell = dataGridView.CurrentCell; 573return this.dataGridView.CurrentCell != null;
winforms\Managed\System\WinForms\DataGridViewCell.cs (5)
4906if (this.owner == this.owner.DataGridView.CurrentCell) 5052Debug.Assert(dataGridView.CurrentCell == dataGridViewCell, "the result of selecting the cell should have made this cell the current cell"); 5189this.owner.DataGridView.CurrentCell == this.owner && 5210this.owner.DataGridView.CurrentCell == this.owner) 5508if (this.owner.DataGridView.CurrentCell == this.owner &&
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (3)
1194this.DataGridView.CurrentCell != null && this.DataGridView.CurrentCell.Selected && 1195this.DataGridView.CurrentCell.OwningColumn == this.OwningColumn &&
winforms\Managed\System\WinForms\DataGridViewEditingControl.cs (1)
99return (Owner as IDataGridViewEditingControl)?.EditingControlDataGridView?.CurrentCell?.AccessibilityObject;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
66CurrentCell?.AccessibilityObject.SetFocus(); 17182return this.ShowFocusCues && this.CurrentCell == null && AccessibilityImprovements.Level2;
winforms\Managed\System\WinForms\DataGridViewRow.cs (9)
2219if (this.owner.DataGridView.Focused && this.owner.DataGridView.CurrentCell != null && this.owner.DataGridView.CurrentCell.RowIndex == this.owner.Index) 2221return this.owner.DataGridView.CurrentCell.AccessibilityObject; 2329if (dataGridView.CurrentCell != null && dataGridView.CurrentCell.OwningColumn != null) 2331dataGridView.CurrentCell = this.owner.Cells[dataGridView.CurrentCell.OwningColumn.Index]; // Do not change old selection 2530if (this.owner.DataGridView.CurrentCell != null && this.owner.DataGridView.CurrentCell.Selected) 2532return this.owner.DataGridView.CurrentCell.AccessibilityObject;
winforms\Managed\System\WinForms\DataGridViewSelectedCellsAccessibleObject.cs (3)
88if (this.owner.CurrentCell != null && this.owner.CurrentCell.Selected) 90return this.owner.CurrentCell.AccessibilityObject;
System.WorkflowServices (1)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
389if (this.parametersGrid.CurrentCell.ColumnIndex == this.typeColumn.Index)