3 writes to EditMode
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
40EditMode = 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)
3060if (endEdit && EditMode != DataGridViewEditMode.EditOnEnter && EditingControl is not null) 4073keepFocus: EditMode != DataGridViewEditMode.EditOnEnter, 4113&& (EditMode == DataGridViewEditMode.EditOnEnter 4114|| (EditMode != DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null))) 6133public bool EndEdit(DataGridViewDataErrorContexts context) => EditMode == DataGridViewEditMode.EditOnEnter 6238if (EditMode == DataGridViewEditMode.EditOnEnter) 12831&& (EditMode == DataGridViewEditMode.EditOnEnter 12832|| (EditMode != DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null))) 13710keepFocus: EditMode != DataGridViewEditMode.EditOnEnter, 14445&& (EditMode == DataGridViewEditMode.EditOnEnter 14446|| (EditMode != DataGridViewEditMode.EditProgrammatically && CurrentCellInternal.EditType is null))) 14960if (Focused && EditMode == DataGridViewEditMode.EditOnEnter && _ptCurrentCell.X > -1 && !IsCurrentCellInEditMode) 15046if (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)) 17961keepFocus: 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))) 21414if (EditMode == DataGridViewEditMode.EditOnEnter) 21502Debug.Assert(EditMode != DataGridViewEditMode.EditOnEnter 21508&& (EditMode == DataGridViewEditMode.EditOnKeystrokeOrF2 || EditMode == DataGridViewEditMode.EditOnF2)) 21512BeginEditInternal(selectAll: EditMode == DataGridViewEditMode.EditOnF2); 21883&& (EditMode == DataGridViewEditMode.EditOnKeystroke || EditMode == DataGridViewEditMode.EditOnKeystrokeOrF2)) 21901if (BeginEditInternal(selectAll: !(ke.KeyCode == Keys.F2 && ModifierKeys == 0 && EditMode == DataGridViewEditMode.EditOnKeystrokeOrF2))) 25274&& (EditMode == DataGridViewEditMode.EditOnKeystroke || EditMode == DataGridViewEditMode.EditOnKeystrokeOrF2) 26816keepFocus: 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))) 27029keepFocus: EditMode != DataGridViewEditMode.EditOnEnter,
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
302else if (dataGridView.EditMode != DataGridViewEditMode.EditProgrammatically)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1623if (throughMouseClick && DataGridView.EditMode != DataGridViewEditMode.EditOnEnter) 1674DataGridView.EditMode != DataGridViewEditMode.EditProgrammatically &&
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
582else if (DataGridView.EditMode != DataGridViewEditMode.EditProgrammatically)