61 references to Control
System.Windows.Forms (61)
winforms\Managed\System\WinForms\ToolStrip.cs (2)
1939
controlHost.
Control
.Select();
1940
controlHost.
Control
.FocusInternal();
winforms\Managed\System\WinForms\ToolStripComboBox.cs (2)
46
ToolStripComboBoxControl combo =
Control
as ToolStripComboBoxControl;
201
return
Control
as ComboBox;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (50)
73
return
Control
.BackColor;
76
Control
.BackColor = value;
94
return
Control
.BackgroundImage;
97
Control
.BackgroundImage = value;
110
return
Control
.BackgroundImageLayout;
113
Control
.BackgroundImageLayout = value;
123
return (DesignMode || this.
Control
.CanSelect);
135
get { return
Control
.CausesValidation; }
136
set {
Control
.CausesValidation = value; }
167
return
Control
?.AccessibilityObject;
178
if (
Control
!= null) {
181
return
Control
.Size;
225
return
Control
.Font;
228
Control
.Font = value;
235
return
Control
.Enabled;
238
Control
.Enabled = value;
260
return
Control
.Focused;
267
return
Control
.ForeColor;
270
Control
.ForeColor = value;
456
if (
Control
!= null)
458
return
Control
.Focused;
504
Control
.Site = new StubSite(
Control
, this);
508
Control
.Site = null;
520
return
Control
.Text;
523
Control
.Text = value;
583
return
Control
.AccessibilityObject;
596
if (disposing &&
Control
!= null) {
598
OnUnsubscribeControlEvents(
Control
);
601
Control
.Dispose();
610
Control
.Focus();
617
return
Control
.GetPreferredSize(constrainingSize - Padding.Size) + Padding.Size;
732
bool controlVisibleStateFlag = ((IArrangedElement)
Control
).ParticipatesInLayout;
736
this.Visible =
Control
.Visible;
750
Control
.AccessibleDescription = AccessibleDescription;
753
Control
.AccessibleName = AccessibleName;
756
Control
.AccessibleDefaultActionDescription = AccessibleDefaultActionDescription;
759
Control
.AccessibleRole = AccessibleRole;
847
if (oldParent != null && Owner == null && newParent == null &&
Control
!= null) {
851
= GetControlCollection(
Control
.ParentInternal as ToolStrip);
853
oldControlCollection.RemoveInternal(
Control
);
982
newControls.AddInternal(
Control
);
989
this.Size =
Control
.Size;
1029
Control
.SuspendLayout();
1031
Control
.Visible = visible;
1034
Control
.ResumeLayout(false);
1045
Control
.ResetBackColor();
1050
Control
.ResetForeColor();
1090
KeyboardToolTipStateMachine.Instance.Hook(this.
Control
, toolTip);
1096
KeyboardToolTipStateMachine.Instance.Unhook(this.
Control
, toolTip);
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (4)
31
ToolStripProgressBarControl toolStripProgressBarControl =
Control
as ToolStripProgressBarControl;
54
return this.
Control
as ProgressBar;
228
return
Control
.Text;
232
Control
.Text = value;
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (1)
80
return
Control
as StickyLabel;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
40
ToolStripTextBoxControl textBox =
Control
as ToolStripTextBoxControl;
113
return
Control
as TextBox;