C# Class Flood.GUI.Controls.MenuStrip

Menu strip.
Inheritance: Menu
Datei anzeigen Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes the current menu.

MenuStrip ( Control parent )

Initializes a new instance of the MenuStrip class.

Protected Methods

Method Description
Layout ( Skins skin ) : void

Lays out the control's interior according to alignment, padding, dock etc.

OnAddItem ( MenuItem item ) : void

Add item handler.

Render ( Skins skin ) : void

Renders the control using specified skin.

RenderUnder ( Skins skin ) : void

Renders under the actual control (shadows etc).

Method Details

Close() public method

Closes the current menu.
public Close ( ) : void
return void

Layout() protected method

Lays out the control's interior according to alignment, padding, dock etc.
protected Layout ( Skins skin ) : void
skin Skins Skin to use.
return void

MenuStrip() public method

Initializes a new instance of the MenuStrip class.
public MenuStrip ( Control parent )
parent Control Parent control.

OnAddItem() protected method

Add item handler.
protected OnAddItem ( MenuItem item ) : void
item MenuItem Item added.
return void

Render() protected method

Renders the control using specified skin.
protected Render ( Skins skin ) : void
skin Skins Skin to use.
return void

RenderUnder() protected method

Renders under the actual control (shadows etc).
protected RenderUnder ( Skins skin ) : void
skin Skins Skin to use.
return void