C# Class System.Windows.Forms.ToolStripMenuItem

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

Private Properties

Property Type Description
CalculatePreferredSize System.Drawing.Size
GetShortcutDisplayString string
GetTopLevelControl Control
HandleAutoExpansion void
HandleClick void
OnUIACheckOnClickChangedEvent void

Public Methods

Method Description
ToolStripMenuItem ( ) : System
ToolStripMenuItem ( Image image ) : System
ToolStripMenuItem ( string text ) : System
ToolStripMenuItem ( string text, Image image ) : System
ToolStripMenuItem ( string text, Image image, EventHandler onClick ) : System
ToolStripMenuItem ( string text, Image image, EventHandler onClick, Keys shortcutKeys ) : System
ToolStripMenuItem ( string text, Image image, EventHandler onClick, string name ) : System

Protected Methods

Method Description
CreateDefaultDropDown ( ) : ToolStripDropDown
Dispose ( bool disposing ) : void
OnCheckStateChanged ( EventArgs e ) : void
OnCheckedChanged ( EventArgs e ) : void
OnClick ( EventArgs e ) : void
OnDropDownHide ( EventArgs e ) : void
OnDropDownShow ( EventArgs e ) : void
OnFontChanged ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnOwnerChanged ( EventArgs e ) : void
OnPaint ( System e ) : void
ProcessCmdKey ( Message &m, Keys keyData ) : bool
ProcessMnemonic ( char charCode ) : bool
SetBounds ( Rectangle rect ) : void

Private Methods

Method Description
CalculatePreferredSize ( Size constrainingSize ) : Size
GetShortcutDisplayString ( ) : string
GetTopLevelControl ( ) : Control
HandleAutoExpansion ( ) : void
HandleClick ( int mouse_clicks, EventArgs e ) : void
OnUIACheckOnClickChangedEvent ( EventArgs args ) : void

Method Details

CreateDefaultDropDown() protected method

protected CreateDefaultDropDown ( ) : ToolStripDropDown
return ToolStripDropDown

Dispose() protected method

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

OnCheckStateChanged() protected method

protected OnCheckStateChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnCheckedChanged() protected method

protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnClick() protected method

protected OnClick ( EventArgs e ) : void
e System.EventArgs
return void

OnDropDownHide() protected method

protected OnDropDownHide ( EventArgs e ) : void
e System.EventArgs
return void

OnDropDownShow() protected method

protected OnDropDownShow ( EventArgs e ) : void
e System.EventArgs
return void

OnFontChanged() protected method

protected OnFontChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnOwnerChanged() protected method

protected OnOwnerChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnPaint() protected method

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

ProcessCmdKey() protected method

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

ProcessMnemonic() protected method

protected ProcessMnemonic ( char charCode ) : bool
charCode char
return bool

SetBounds() protected method

protected SetBounds ( Rectangle rect ) : void
rect System.Drawing.Rectangle
return void

ToolStripMenuItem() public method

public ToolStripMenuItem ( ) : System
return System

ToolStripMenuItem() public method

public ToolStripMenuItem ( Image image ) : System
image Image
return System

ToolStripMenuItem() public method

public ToolStripMenuItem ( string text ) : System
text string
return System

ToolStripMenuItem() public method

public ToolStripMenuItem ( string text, Image image ) : System
text string
image Image
return System

ToolStripMenuItem() public method

public ToolStripMenuItem ( string text, Image image, EventHandler onClick ) : System
text string
image Image
onClick EventHandler
return System

ToolStripMenuItem() public method

public ToolStripMenuItem ( string text, Image image, EventHandler onClick, Keys shortcutKeys ) : System
text string
image Image
onClick EventHandler
shortcutKeys Keys
return System

ToolStripMenuItem() public method

public ToolStripMenuItem ( string text, Image image, EventHandler onClick, string name ) : System
text string
image Image
onClick EventHandler
name string
return System