C# Class System.Windows.Forms.ToolStripControlHost

Inheritance: ToolStripItem
Show file Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Private Properties

Property Type Description
ControlResizeHandler void
Dismiss void
Focus void
HandleEnter void
HandleGotFocus void
HandleKeyDown void
HandleKeyPress void
HandleKeyUp void
HandleLeave void
HandleLostFocus void
HandleValidated void
HandleValidating void
ResetBackColor void
ResetForeColor void

Public Methods

Method Description
GetPreferredSize ( Size constrainingSize ) : Size
ToolStripControlHost ( Control c ) : System.Drawing
ToolStripControlHost ( Control c, string name ) : System.Drawing

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnBoundsChanged ( ) : void
OnEnter ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnHostedControlResize ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnParentChanged ( ToolStrip oldParent, ToolStrip newParent ) : void
OnSubscribeControlEvents ( Control control ) : void
OnUnsubscribeControlEvents ( Control control ) : void
OnValidated ( EventArgs e ) : void
OnValidating ( CancelEventArgs e ) : void
ProcessCmdKey ( Message &m, Keys keyData ) : bool
ProcessDialogKey ( Keys keyData ) : bool
SetVisibleCore ( bool visible ) : void

Private Methods

Method Description
ControlResizeHandler ( object obj, EventArgs args ) : void
Dismiss ( ToolStripDropDownCloseReason reason ) : void
Focus ( ) : void
HandleEnter ( object sender, EventArgs e ) : void
HandleGotFocus ( object sender, EventArgs e ) : void
HandleKeyDown ( object sender, KeyEventArgs e ) : void
HandleKeyPress ( object sender, KeyPressEventArgs e ) : void
HandleKeyUp ( object sender, KeyEventArgs e ) : void
HandleLeave ( object sender, EventArgs e ) : void
HandleLostFocus ( object sender, EventArgs e ) : void
HandleValidated ( object sender, EventArgs e ) : void
HandleValidating ( object sender, CancelEventArgs e ) : void
ResetBackColor ( ) : void
ResetForeColor ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetPreferredSize() public method

public GetPreferredSize ( Size constrainingSize ) : Size
constrainingSize System.Drawing.Size
return System.Drawing.Size

OnBoundsChanged() protected method

protected OnBoundsChanged ( ) : void
return void

OnEnter() protected method

protected OnEnter ( EventArgs e ) : void
e EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
return void

OnHostedControlResize() protected method

protected OnHostedControlResize ( EventArgs e ) : void
e EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEventArgs e ) : void
e KeyPressEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnLayout() protected method

protected OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
e System.Windows.Forms.LayoutEventArgs
return void

OnLeave() protected method

protected OnLeave ( EventArgs e ) : void
e EventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnParentChanged() protected method

protected OnParentChanged ( ToolStrip oldParent, ToolStrip newParent ) : void
oldParent ToolStrip
newParent ToolStrip
return void

OnSubscribeControlEvents() protected method

protected OnSubscribeControlEvents ( Control control ) : void
control Control
return void

OnUnsubscribeControlEvents() protected method

protected OnUnsubscribeControlEvents ( Control control ) : void
control Control
return void

OnValidated() protected method

protected OnValidated ( EventArgs e ) : void
e EventArgs
return void

OnValidating() protected method

protected OnValidating ( CancelEventArgs e ) : void
e System.ComponentModel.CancelEventArgs
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &m, Keys keyData ) : bool
m Message
keyData Keys
return bool

ProcessDialogKey() protected method

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
return bool

SetVisibleCore() protected method

protected SetVisibleCore ( bool visible ) : void
visible bool
return void

ToolStripControlHost() public method

public ToolStripControlHost ( Control c ) : System.Drawing
c Control
return System.Drawing

ToolStripControlHost() public method

public ToolStripControlHost ( Control c, string name ) : System.Drawing
c Control
name string
return System.Drawing