47 references to IsCurrentCellInEditMode
System.Windows.Forms (47)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3070
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)
2566
:
IsCurrentCellInEditMode
|| BeginEditInternal(selectAll);
2580
Debug.Assert(!
IsCurrentCellInEditMode
);
2608
Debug.Assert(!
IsCurrentCellInEditMode
);
3058
if (
IsCurrentCellInEditMode
)
3168
if (
IsCurrentCellInEditMode
)
3237
if (
IsCurrentCellInEditMode
)
3716
if (
IsCurrentCellInEditMode
)
3844
if (!
IsCurrentCellInEditMode
|| !IsCurrentCellDirty)
3856
if (_ptCurrentCell.X == -1 || !
IsCurrentCellInEditMode
)
3929
if (!
IsCurrentCellInEditMode
)
4112
&& !
IsCurrentCellInEditMode
6207
if (!
IsCurrentCellInEditMode
)
12830
&& !
IsCurrentCellInEditMode
14444
&& !
IsCurrentCellInEditMode
14744
&&
IsCurrentCellInEditMode
14808
&&
IsCurrentCellInEditMode
14845
&&
IsCurrentCellInEditMode
14960
if (Focused && EditMode == DataGridViewEditMode.EditOnEnter && _ptCurrentCell.X > -1 && !
IsCurrentCellInEditMode
)
15044
if (_ptCurrentCell.X > -1 && !
IsCurrentCellInEditMode
)
16858
&& !
IsCurrentCellInEditMode
18686
&& !
IsCurrentCellInEditMode
20073
&& !
IsCurrentCellInEditMode
21498
if (_ptCurrentCell.X != -1 && !
IsCurrentCellInEditMode
&& ModifierKeys == 0)
21880
if (!
IsCurrentCellInEditMode
25268
if (_ptCurrentCell.X != -1 && !
IsCurrentCellInEditMode
&& ColumnEditable(_ptCurrentCell.X))
25286
if ((keyData & (Keys.Alt | Keys.Shift | Keys.Control)) == Keys.Control &&
IsCurrentCellInEditMode
)
25342
Debug.Assert(
IsCurrentCellInEditMode
);
25470
if (_ptCurrentCell.X != -1 &&
IsCurrentCellInEditMode
)
26967
&& !
IsCurrentCellInEditMode
26999
&& !
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)
229
if (_owner.DataGridView.
IsCurrentCellInEditMode
)
297
if (dataGridView.
IsCurrentCellInEditMode
)
399
_owner.DataGridView.
IsCurrentCellInEditMode
&&
420
_owner.DataGridView.
IsCurrentCellInEditMode
&&
664
_owner.DataGridView.
IsCurrentCellInEditMode
&&
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
435
DataGridView.
IsCurrentCellInEditMode
;
521
ptCurrentCell.Y == rowIndex && DataGridView.
IsCurrentCellInEditMode
)
791
DataGridView.
IsCurrentCellInEditMode
)
1082
ptCurrentCell.Y == rowIndex && DataGridView.
IsCurrentCellInEditMode
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (2)
104
if (!dataGridView.
IsCurrentCellInEditMode
)
110
if (dataGridView.
IsCurrentCellInEditMode
)