C# Class Flood.GUI.Controls.CollapsibleCategory

CollapsibleCategory control. Used in CollapsibleList.
Inheritance: Control
Mostra file Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
Add ( String name ) : Button

Adds a new entry.

CollapsibleCategory ( Flood.GUI.Controls.CollapsibleList parent ) : System

Initializes a new instance of the CollapsibleCategory class.

GetSelectedButton ( ) : Button

Gets the selected entry.

UnselectAll ( ) : void

Unselects all entries.

Protected Methods

Method Description
OnHeaderToggle ( Control control ) : void

Handler for header button toggle event.

OnSelected ( Control control ) : void

Handler for Selected event.

PostLayout ( Skins skin ) : void

Function invoked after layout.

Render ( Skins skin ) : void

Renders the control using specified skin.

Method Details

Add() public method

Adds a new entry.
public Add ( String name ) : Button
name String Entry name (displayed).
return Button

CollapsibleCategory() public method

Initializes a new instance of the CollapsibleCategory class.
public CollapsibleCategory ( Flood.GUI.Controls.CollapsibleList parent ) : System
parent Flood.GUI.Controls.CollapsibleList Parent control.
return System

GetSelectedButton() public method

Gets the selected entry.
public GetSelectedButton ( ) : Button
return Button

OnHeaderToggle() protected method

Handler for header button toggle event.
protected OnHeaderToggle ( Control control ) : void
control Control Source control.
return void

OnSelected() protected method

Handler for Selected event.
protected OnSelected ( Control control ) : void
control Control Event source.
return void

PostLayout() protected method

Function invoked after layout.
protected PostLayout ( Skins skin ) : void
skin Skins Skin to use.
return void

Render() protected method

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

UnselectAll() public method

Unselects all entries.
public UnselectAll ( ) : void
return void