System.Windows.Forms.ToolStripControlHost: Method Members

The methods of System.Windows.Forms.ToolStripControlHost are listed below. For a list of all members, see the ToolStripControlHost Members list.

See Also: Inherited members from System.Windows.Forms.ToolStripItem

Public Methods

Focus()

Gives the focus to a control.

override
GetPreferredSize(System.Drawing.Size) : System.Drawing.Size

Retrieves the size of a rectangular area into which a control can be fitted.

override
ResetBackColor()

This method is not relevant to this class.

override
ResetForeColor()

This method is not relevant to this class.

Protected Methods

override
CreateAccessibilityInstance() : AccessibleObject

Creates a new accessibility object for the control.

override
Dispose(bool)

Releases the unmanaged resources used by the System.Windows.Forms.ToolStripControlHost and optionally releases the managed resources.

override
OnBoundsChanged()

Occurs when the ToolStripItem.Bounds property changes.

OnEnter(EventArgs)

Raises the ToolStripControlHost.Enter event.

OnGotFocus(EventArgs)

Raises the ToolStripControlHost.GotFocus event.

OnHostedControlResize(EventArgs)

Synchronizes the resizing of the control host with the resizing of the hosted control.

OnKeyDown(KeyEventArgs)

Raises the ToolStripControlHost.KeyDown event.

OnKeyPress(KeyPressEventArgs)

Raises the ToolStripControlHost.KeyPress event.

OnKeyUp(KeyEventArgs)

Raises the ToolStripControlHost.KeyUp event.

override
OnLayout(LayoutEventArgs)

Raises the Control.Layout event.

OnLeave(EventArgs)

Raises the ToolStripControlHost.Leave event.

OnLostFocus(EventArgs)

Raises the ToolStripControlHost.LostFocus event.

override
OnPaint(PaintEventArgs)

Raises the Control.Paint event.

override
OnParentChanged(ToolStrip, ToolStrip)
Documentation for this section has not yet been entered.
OnSubscribeControlEvents(Control)

Subscribes events from the hosted control.

OnUnsubscribeControlEvents(Control)

Unsubscribes events from the hosted control.

OnValidated(EventArgs)

Raises the ToolStripControlHost.Validated event.

OnValidating(System.ComponentModel.CancelEventArgs)

Raises the ToolStripControlHost.Validating event.

override
ProcessCmdKey(ref Message, Keys) : bool
Documentation for this section has not yet been entered.
override
ProcessDialogKey(Keys) : bool

Processes a dialog key.

override
SetVisibleCore(bool)
Documentation for this section has not yet been entered.