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

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddItem ( String label, String name = "" ) : MenuItem

Adds a new item.

Close ( ) : void

Closes the combo.

ComboBox ( Control parent ) : System

Initializes a new instance of the ComboBox class.

DeleteAll ( ) : void

Removes all items.

Open ( ) : void

Opens the combo.

보호된 메소드들

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

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

OnClicked ( ) : void

Internal Pressed implementation.

OnItemSelected ( Control control ) : void

Internal handler for item selected event.

OnKeyDown ( bool down ) : bool

Handler for Down Arrow keyboard event.

OnKeyUp ( bool down ) : bool

Handler for Up Arrow keyboard event.

OnKeyboardFocus ( ) : void

Handler for gaining keyboard focus.

OnLostKeyboardFocus ( ) : void

Handler for losing keyboard focus.

Render ( Skins skin ) : void

Renders the control using specified skin.

RenderFocus ( Skins skin ) : void

Renders the focus overlay.

메소드 상세

AddItem() 공개 메소드

Adds a new item.
public AddItem ( String label, String name = "" ) : MenuItem
label String Item label (displayed).
name String Item name.
리턴 MenuItem

Close() 공개 메소드

Closes the combo.
public Close ( ) : void
리턴 void

ComboBox() 공개 메소드

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

DeleteAll() 공개 메소드

Removes all items.
public DeleteAll ( ) : 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

OnClicked() 보호된 메소드

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

OnItemSelected() 보호된 메소드

Internal handler for item selected event.
protected OnItemSelected ( Control control ) : void
control Control Event source.
리턴 void

OnKeyDown() 보호된 메소드

Handler for Down Arrow keyboard event.
protected OnKeyDown ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
리턴 bool

OnKeyUp() 보호된 메소드

Handler for Up Arrow keyboard event.
protected OnKeyUp ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
리턴 bool

OnKeyboardFocus() 보호된 메소드

Handler for gaining keyboard focus.
protected OnKeyboardFocus ( ) : void
리턴 void

OnLostKeyboardFocus() 보호된 메소드

Handler for losing keyboard focus.
protected OnLostKeyboardFocus ( ) : void
리턴 void

Open() 공개 메소드

Opens the combo.
public Open ( ) : void
리턴 void

Render() 보호된 메소드

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

RenderFocus() 보호된 메소드

Renders the focus overlay.
protected RenderFocus ( Skins skin ) : void
skin Skins Skin to use.
리턴 void