49 references to EditingControl
System.Windows.Forms (49)
winforms\Managed\System\WinForms\DataGridView.cs (1)
2824
return
EditingControl
.AccessibilityObject;
winforms\Managed\System\WinForms\DataGridViewCell.cs (30)
1312
if (dgv == null || dgv.
EditingControl
== null)
1316
if (dgv.
EditingControl
.ParentInternal != null)
1318
if (dgv.
EditingControl
.ContainsFocus)
1321
if (cc != null && (dgv.
EditingControl
== cc.ActiveControl || dgv.
EditingControl
.Contains(cc.ActiveControl)))
1333
Debug.Assert(dgv.
EditingControl
.ParentInternal == dgv.EditingPanel);
1334
Debug.Assert(dgv.EditingPanel.Controls.Contains(dgv.
EditingControl
));
1335
dgv.EditingPanel.Controls.Remove(dgv.
EditingControl
);
1336
Debug.Assert(dgv.
EditingControl
.ParentInternal == null);
1340
if (dgv.
EditingControl
is DataGridViewTextBoxEditingControl)
1345
if (dgv.
EditingControl
is DataGridViewComboBoxEditingControl)
1364
Debug.Assert(dgv.
EditingControl
.ParentInternal == null);
1801
IDataGridViewEditingControl dgvectl = (IDataGridViewEditingControl)this.DataGridView.
EditingControl
;
2724
if (dgv == null || dgv.
EditingControl
== null)
2730
if (dgv.
EditingControl
.ParentInternal == null)
2733
dgv.
EditingControl
.CausesValidation = dgv.CausesValidation;
2735
dgv.
EditingControl
.Visible = true;
2740
dgv.EditingPanel.Controls.Add(dgv.
EditingControl
);
2743
Debug.Assert(dgv.
EditingControl
.ParentInternal == dgv.EditingPanel);
2748
if ((dgv.ComboBoxControlWasDetached && dgv.
EditingControl
is DataGridViewComboBoxEditingControl) ||
2749
(dgv.TextBoxControlWasDetached && dgv.
EditingControl
is DataGridViewTextBoxEditingControl))
2753
dgv.
EditingControl
.RecreateHandleCore();
2760
AccessibilityObject.SetDetachableChild(dgv.
EditingControl
.AccessibilityObject);
3106
this.DataGridView.
EditingControl
!= null)
4508
this.DataGridView.
EditingControl
.Location = new Point(editingControlBounds.X, editingControlBounds.Y);
4512
this.DataGridView.
EditingControl
.Size = new Size(editingControlBounds.Width, editingControlBounds.Height);
5187
if (this.owner.DataGridView.
EditingControl
!= null &&
5192
return this.owner.DataGridView.
EditingControl
.AccessibilityObject;
5208
if (this.owner.DataGridView.
EditingControl
!= null &&
5510
this.owner.DataGridView.
EditingControl
!= null)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (6)
735
this.EditingComboBox = this.DataGridView.
EditingControl
as DataGridViewComboBoxEditingControl;
940
if (dgv == null || dgv.
EditingControl
== null)
1508
this.DataGridView.
EditingControl
!= null);
1511
ComboBox comboBox = this.DataGridView.
EditingControl
as ComboBox;
1581
this.EditingComboBox = this.DataGridView.
EditingControl
as DataGridViewComboBoxEditingControl;
2154
bool cellEdited = cellCurrent && this.DataGridView.
EditingControl
!= null;
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
225
if (owner != null && owner.EditingControlDataGridView.
EditingControl
== owner)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (10)
144
this.EditingTextBox = this.DataGridView.
EditingControl
as DataGridViewTextBoxEditingControl;
174
if (dgv == null || dgv.
EditingControl
== null)
179
TextBox textBox = dgv.
EditingControl
as TextBox;
195
TextBox txtEditingControl = this.DataGridView.
EditingControl
as TextBox;
534
this.DataGridView.
EditingControl
!= null);
537
TextBox textBox = this.DataGridView.
EditingControl
as TextBox;
553
this.EditingTextBox = this.DataGridView.
EditingControl
as DataGridViewTextBoxEditingControl;
705
bool cellEdited = cellCurrent && this.DataGridView.
EditingControl
!= null;
824
this.DataGridView.
EditingControl
.Location = new Point(editingControlBounds.X, editingControlBounds.Y);
825
this.DataGridView.
EditingControl
.Size = new Size(editingControlBounds.Width, editingControlBounds.Height);
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
398
if (owner != null && owner.EditingControlDataGridView.
EditingControl
== owner)