The members of System.Windows.Forms.ToolStripControlHost are listed below.
See Also: Inherited members from System.Windows.Forms.ToolStripItem
Initializes a new instance of the System.Windows.Forms.ToolStripControlHost class that hosts the specified control. | ||
Initializes a new instance of the System.Windows.Forms.ToolStripControlHost class that hosts the specified control and that has the specified name. |
override | BackColor | System.Drawing.Color.
Gets or sets the background color for the control. |
override | BackgroundImage | System.Drawing.Image.
Gets or sets the background image displayed in the control. |
override | BackgroundImageLayout | ImageLayout.
Gets or sets the background image layout as defined in the ImageLayout enumeration. |
| [read-only] override | CanSelect | bool.
Gets a value indicating whether the control can be selected. |
| CausesValidation | bool.
Gets or sets a value indicating whether the hosted control causes and raises validation events on other controls when the hosted control receives focus. | |
| [read-only] | Control | Control.
Gets the System.Windows.Forms.Control that this System.Windows.Forms.ToolStripControlHost is hosting. |
| ControlAlign | System.Drawing.ContentAlignment.
Gets or sets the alignment of the control on the form. | |
| DisplayStyle | ToolStripItemDisplayStyle.
This property is not relevant to this class. | |
| DoubleClickEnabled | bool.
This property is not relevant to this class. | |
override | Enabled | bool.
Gets or sets a value indicating whether the parent control of the System.Windows.Forms.ToolStripItem is enabled. |
| [read-only] | Focused | bool.
Gets a value indicating whether the control has input focus. |
override | Font | System.Drawing.Font.
Gets or sets the font to be used on the hosted control. |
override | ForeColor | System.Drawing.Color.
Gets or sets the foreground color of the hosted control. |
override | Image | System.Drawing.Image.
The image associated with the object. |
| ImageAlign | System.Drawing.ContentAlignment.
This property is not relevant to this class. | |
| ImageScaling | ToolStripItemImageScaling.
This property is not relevant to this class. | |
| ImageTransparentColor | System.Drawing.Color.
This property is not relevant to this class. | |
override | RightToLeft | RightToLeft.
Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. |
| RightToLeftAutoMirrorImage | bool.
This property is not relevant to this class. | |
| [read-only] override | Selected | bool.
Gets a value indicating whether the item is selected. |
override | Site | System.ComponentModel.ISite.
Gets or sets the site of the hosted control. |
override | Size | System.Drawing.Size.
Gets or sets the size of the System.Windows.Forms.ToolStripItem. |
override | Text | string.
Gets or sets the text to be displayed on the hosted control. |
| TextAlign | System.Drawing.ContentAlignment.
This property is not relevant to this class. | |
override | TextDirection | ToolStripTextDirection.
This property is not relevant to this class. |
| TextImageRelation | TextImageRelation.
This property is not relevant to this class. |
| [read-only] override | DefaultSize | System.Drawing.Size.
Gets the default size of the control. |
Focus()
| ||
override | GetPreferredSize(System.Drawing.Size)
| |
override | ResetBackColor()
| |
override | ResetForeColor()
| |
override | CreateAccessibilityInstance()
| |
override | Dispose(bool)
| |
override | OnBoundsChanged()
| |
OnEnter(EventArgs)
| ||
OnGotFocus(EventArgs)
| ||
OnHostedControlResize(EventArgs)
| ||
OnKeyDown(KeyEventArgs)
| ||
OnKeyPress(KeyPressEventArgs)
| ||
OnKeyUp(KeyEventArgs)
| ||
override | OnLayout(LayoutEventArgs)
| |
OnLeave(EventArgs)
| ||
OnLostFocus(EventArgs)
| ||
override | OnPaint(PaintEventArgs)
| |
override | OnParentChanged(ToolStrip, ToolStrip)Documentation for this section has not yet been entered. | |
OnSubscribeControlEvents(Control)
| ||
OnUnsubscribeControlEvents(Control)
| ||
OnValidated(EventArgs)
| ||
OnValidating(System.ComponentModel.CancelEventArgs)
| ||
override | ProcessCmdKey(ref Message, Keys)Documentation for this section has not yet been entered. | |
override | ProcessDialogKey(Keys)
| |
override | SetVisibleCore(bool)Documentation for this section has not yet been entered. | |
| DisplayStyleChanged |
This event is not relevant to this class. | |
| Enter |
Occurs when the hosted control is entered. | |
| GotFocus |
Occurs when the hosted control receives focus. | |
| KeyDown |
Occurs when a key is pressed and held down while the hosted control has focus. | |
| KeyPress |
Occurs when a key is pressed while the hosted control has focus. | |
| KeyUp |
Occurs when a key is released while the hosted control has focus. | |
| Leave |
Occurs when the input focus leaves the hosted control. | |
| LostFocus |
Occurs when the hosted control loses focus. | |
| Validated |
Occurs after the hosted control has been successfully validated. | |
| Validating |
Occurs while the hosted control is validating. |