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