3 writes to EditMode
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
40
EditMode
= DataGridViewEditMode.EditOnEnter;
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataGridViewTests.cs (2)
3249
_dataGridView.
EditMode
= DataGridViewEditMode.EditOnEnter;
3253
_dataGridView.
EditMode
= DataGridViewEditMode.EditOnKeystroke;
45 references to EditMode
System.Windows.Forms (45)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2916
|| (
EditMode
!= DataGridViewEditMode.EditOnEnter && EditingControl is not null)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (40)
3060
if (endEdit &&
EditMode
!= DataGridViewEditMode.EditOnEnter && EditingControl is not null)
4073
keepFocus:
EditMode
!= DataGridViewEditMode.EditOnEnter,
4113
&& (
EditMode
== DataGridViewEditMode.EditOnEnter
4114
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null)))
6133
public bool EndEdit(DataGridViewDataErrorContexts context) =>
EditMode
== DataGridViewEditMode.EditOnEnter
6238
if (
EditMode
== DataGridViewEditMode.EditOnEnter)
12831
&& (
EditMode
== DataGridViewEditMode.EditOnEnter
12832
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null)))
13710
keepFocus:
EditMode
!= DataGridViewEditMode.EditOnEnter,
14445
&& (
EditMode
== DataGridViewEditMode.EditOnEnter
14446
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null)))
14960
if (Focused &&
EditMode
== DataGridViewEditMode.EditOnEnter && _ptCurrentCell.X > -1 && !IsCurrentCellInEditMode)
15046
if (
EditMode
== DataGridViewEditMode.EditOnEnter
15047
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null))
15194
&& (!_dataGridViewOper[OperationInEndEdit] ||
EditMode
!= DataGridViewEditMode.EditOnEnter)
15195
&& (!_dataGridViewOper[OperationInMouseDown] ||
EditMode
!= DataGridViewEditMode.EditOnEnter)
16373
&&
EditMode
== DataGridViewEditMode.EditOnEnter
16859
&& (
EditMode
== DataGridViewEditMode.EditOnEnter
16860
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null))
17961
keepFocus:
EditMode
!= DataGridViewEditMode.EditOnEnter,
18687
&& (
EditMode
== DataGridViewEditMode.EditOnEnter
18688
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null)))
20074
&& (
EditMode
== DataGridViewEditMode.EditOnEnter
20075
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null)))
21414
if (
EditMode
== DataGridViewEditMode.EditOnEnter)
21502
Debug.Assert(
EditMode
!= DataGridViewEditMode.EditOnEnter
21508
&& (
EditMode
== DataGridViewEditMode.EditOnKeystrokeOrF2 ||
EditMode
== DataGridViewEditMode.EditOnF2))
21512
BeginEditInternal(selectAll:
EditMode
== DataGridViewEditMode.EditOnF2);
21883
&& (
EditMode
== DataGridViewEditMode.EditOnKeystroke ||
EditMode
== DataGridViewEditMode.EditOnKeystrokeOrF2))
21901
if (BeginEditInternal(selectAll: !(ke.KeyCode == Keys.F2 && ModifierKeys == 0 &&
EditMode
== DataGridViewEditMode.EditOnKeystrokeOrF2)))
25274
&& (
EditMode
== DataGridViewEditMode.EditOnKeystroke ||
EditMode
== DataGridViewEditMode.EditOnKeystrokeOrF2)
26816
keepFocus:
EditMode
!= DataGridViewEditMode.EditOnEnter,
26972
&& (
EditMode
== DataGridViewEditMode.EditOnEnter
26973
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && currentCell.EditType is null)))
27000
&& (
EditMode
== DataGridViewEditMode.EditOnEnter
27001
|| (
EditMode
!= DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null)))
27029
keepFocus:
EditMode
!= DataGridViewEditMode.EditOnEnter,
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
302
else if (dataGridView.
EditMode
!= DataGridViewEditMode.EditProgrammatically)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1623
if (throughMouseClick && DataGridView.
EditMode
!= DataGridViewEditMode.EditOnEnter)
1674
DataGridView.
EditMode
!= DataGridViewEditMode.EditProgrammatically &&
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
582
else if (DataGridView.
EditMode
!= DataGridViewEditMode.EditProgrammatically)