45 references to EditMode
System.Windows.Forms (45)
winforms\Managed\System\WinForms\DataGridView.cs (1)
3686
(this.
EditMode
!= DataGridViewEditMode.EditOnEnter && this.editingControl != null ||
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
5073
else if (dataGridView.
EditMode
!= DataGridViewEditMode.EditProgrammatically)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
1869
if (throughMouseClick && this.DataGridView.
EditMode
!= DataGridViewEditMode.EditOnEnter)
1919
this.DataGridView.
EditMode
!= DataGridViewEditMode.EditProgrammatically &&
winforms\Managed\System\WinForms\DataGridViewMethods.cs (40)
3093
if (endEdit && this.
EditMode
!= DataGridViewEditMode.EditOnEnter && this.editingControl != null)
4073
this.
EditMode
!= DataGridViewEditMode.EditOnEnter /*keepFocus*/,
4104
(!this.IsCurrentCellInEditMode && (this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
4105
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && this.CurrentCellInternal.EditType == null))))
6177
if (this.
EditMode
== DataGridViewEditMode.EditOnEnter)
6275
if (this.
EditMode
== DataGridViewEditMode.EditOnEnter)
13195
(this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
13196
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && this.CurrentCellInternal.EditType == null)))
14190
this.
EditMode
!= DataGridViewEditMode.EditOnEnter /*keepFocus*/,
14908
(this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
14909
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && this.CurrentCellInternal.EditType == null)))
15468
this.
EditMode
== DataGridViewEditMode.EditOnEnter &&
15555
if (this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
15556
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && this.CurrentCellInternal.EditType == null))
15698
(!this.dataGridViewOper[DATAGRIDVIEWOPER_inEndEdit] || this.
EditMode
!= DataGridViewEditMode.EditOnEnter) &&
15699
(!this.dataGridViewOper[DATAGRIDVIEWOPER_inMouseDown] || this.
EditMode
!= DataGridViewEditMode.EditOnEnter) &&
16816
this.
EditMode
== DataGridViewEditMode.EditOnEnter &&
17315
(this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
17316
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && this.CurrentCellInternal.EditType == null)) &&
18445
this.
EditMode
!= DataGridViewEditMode.EditOnEnter /*keepFocus*/,
19223
(this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
19224
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && this.CurrentCellInternal.EditType == null)))
20614
(this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
20615
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && this.CurrentCellInternal.EditType == null)))
21865
if (this.
EditMode
== DataGridViewEditMode.EditOnEnter)
21957
Debug.Assert(this.
EditMode
!= DataGridViewEditMode.EditOnEnter ||
21961
(this.
EditMode
== DataGridViewEditMode.EditOnKeystrokeOrF2 ||
21962
this.
EditMode
== DataGridViewEditMode.EditOnF2))
21966
BeginEditInternal(this.
EditMode
== DataGridViewEditMode.EditOnF2 /*selectAll*/);
22316
(this.
EditMode
== DataGridViewEditMode.EditOnKeystroke || this.
EditMode
== DataGridViewEditMode.EditOnKeystrokeOrF2))
22335
if (BeginEditInternal(!(ke.KeyCode == Keys.F2 && ModifierKeys == 0 && this.
EditMode
== DataGridViewEditMode.EditOnKeystrokeOrF2) /*selectAll*/))
25446
(this.
EditMode
== DataGridViewEditMode.EditOnKeystroke || this.
EditMode
== DataGridViewEditMode.EditOnKeystrokeOrF2) &&
26898
this.
EditMode
!= DataGridViewEditMode.EditOnEnter /*keepFocus*/,
27042
(this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
27043
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && currentCell.EditType == null)))
27069
(!this.IsCurrentCellInEditMode && (this.
EditMode
== DataGridViewEditMode.EditOnEnter ||
27070
(this.
EditMode
!= DataGridViewEditMode.EditProgrammatically && this.CurrentCellInternal.EditType == null))))
27096
this.
EditMode
!= DataGridViewEditMode.EditOnEnter /*keepFocus*/,
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
610
else if (this.DataGridView.
EditMode
!= DataGridViewEditMode.EditProgrammatically)