C# 클래스 Flood.GUI.Controls.MenuItem

Menu item.
상속: Button
파일 보기 프로젝트 열기: FloodProject/flood 1 사용 예제들

공개 메소드들

메소드 설명
CloseMenu ( ) : void

Closes the menu.

MenuItem ( Control parent ) : System

Initializes a new instance of the MenuItem class.

OpenMenu ( ) : void

Opens the menu.

SetAccelerator ( String acc ) : void
SetAction ( GwenEventHandler handler ) : MenuItem
SizeToContents ( ) : void
ToggleMenu ( ) : void

Toggles the menu open state.

보호된 메소드들

메소드 설명
Layout ( Skins skin ) : void

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

OnClicked ( ) : void

Internal OnPressed implementation.

Render ( Skins skin ) : void

Renders the control using specified skin.

메소드 상세

CloseMenu() 공개 메소드

Closes the menu.
public CloseMenu ( ) : void
리턴 void

Layout() 보호된 메소드

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

MenuItem() 공개 메소드

Initializes a new instance of the MenuItem class.
public MenuItem ( Control parent ) : System
parent Control Parent control.
리턴 System

OnClicked() 보호된 메소드

Internal OnPressed implementation.
protected OnClicked ( ) : void
리턴 void

OpenMenu() 공개 메소드

Opens the menu.
public OpenMenu ( ) : void
리턴 void

Render() 보호된 메소드

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

SetAccelerator() 공개 메소드

public SetAccelerator ( String acc ) : void
acc String
리턴 void

SetAction() 공개 메소드

public SetAction ( GwenEventHandler handler ) : MenuItem
handler GwenEventHandler
리턴 MenuItem

SizeToContents() 공개 메소드

public SizeToContents ( ) : void
리턴 void

ToggleMenu() 공개 메소드

Toggles the menu open state.
public ToggleMenu ( ) : void
리턴 void