47 references to IsCurrentCellInEditMode
System.Windows.Forms (47)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3063
if (value && _ptCurrentCell.X != -1 &&
IsCurrentCellInEditMode
)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (1)
652
if (_owner.CurrentCellAddress.Y == e.NewIndex && _owner.
IsCurrentCellInEditMode
)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (1)
46
if (currentCell is not null && owner.
IsCurrentCellInEditMode
)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (30)
2567
:
IsCurrentCellInEditMode
|| BeginEditInternal(selectAll);
2581
Debug.Assert(!
IsCurrentCellInEditMode
);
2609
Debug.Assert(!
IsCurrentCellInEditMode
);
3062
if (
IsCurrentCellInEditMode
)
3172
if (
IsCurrentCellInEditMode
)
3241
if (
IsCurrentCellInEditMode
)
3722
if (
IsCurrentCellInEditMode
)
3850
if (!
IsCurrentCellInEditMode
|| !IsCurrentCellDirty)
3862
if (_ptCurrentCell.X == -1 || !
IsCurrentCellInEditMode
)
3935
if (!
IsCurrentCellInEditMode
)
4118
&& !
IsCurrentCellInEditMode
6213
if (!
IsCurrentCellInEditMode
)
12822
&& !
IsCurrentCellInEditMode
14436
&& !
IsCurrentCellInEditMode
14735
&&
IsCurrentCellInEditMode
14799
&&
IsCurrentCellInEditMode
14836
&&
IsCurrentCellInEditMode
14951
if (Focused && EditMode == DataGridViewEditMode.EditOnEnter && _ptCurrentCell.X > -1 && !
IsCurrentCellInEditMode
)
15035
if (_ptCurrentCell.X > -1 && !
IsCurrentCellInEditMode
)
16848
&& !
IsCurrentCellInEditMode
18676
&& !
IsCurrentCellInEditMode
20065
&& !
IsCurrentCellInEditMode
21495
if (_ptCurrentCell.X != -1 && !
IsCurrentCellInEditMode
&& ModifierKeys == 0)
21877
if (!
IsCurrentCellInEditMode
25260
if (_ptCurrentCell.X != -1 && !
IsCurrentCellInEditMode
&& ColumnEditable(_ptCurrentCell.X))
25278
if ((keyData & (Keys.Alt | Keys.Shift | Keys.Control)) == Keys.Control &&
IsCurrentCellInEditMode
)
25334
Debug.Assert(
IsCurrentCellInEditMode
);
25462
if (_ptCurrentCell.X != -1 &&
IsCurrentCellInEditMode
)
26960
&& !
IsCurrentCellInEditMode
26992
&& !
IsCurrentCellInEditMode
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
409
DataGridView.
IsCurrentCellInEditMode
;
1496
if (this is IDataGridViewEditingCell dgvecell && DataGridView.
IsCurrentCellInEditMode
)
2714
Debug.Assert(DataGridView.
IsCurrentCellInEditMode
);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (5)
230
if (_owner.DataGridView.
IsCurrentCellInEditMode
)
298
if (dataGridView.
IsCurrentCellInEditMode
)
400
_owner.DataGridView.
IsCurrentCellInEditMode
&&
421
_owner.DataGridView.
IsCurrentCellInEditMode
&&
665
_owner.DataGridView.
IsCurrentCellInEditMode
&&
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
435
DataGridView.
IsCurrentCellInEditMode
;
521
ptCurrentCell.Y == rowIndex && DataGridView.
IsCurrentCellInEditMode
)
790
DataGridView.
IsCurrentCellInEditMode
)
1073
ptCurrentCell.Y == rowIndex && DataGridView.
IsCurrentCellInEditMode
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (2)
104
if (!dataGridView.
IsCurrentCellInEditMode
)
110
if (dataGridView.
IsCurrentCellInEditMode
)