C# Class Flood.GUI.Controls.CollapsibleCategory

CollapsibleCategory control. Used in CollapsibleList.
Inheritance: Control
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

Adds a new entry.
public Add ( String name ) : Button
name String Entry name (displayed).
Résultat Button

CollapsibleCategory() public méthode

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

GetSelectedButton() public méthode

Gets the selected entry.
public GetSelectedButton ( ) : Button
Résultat Button

OnHeaderToggle() protected méthode

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

OnSelected() protected méthode

Handler for Selected event.
protected OnSelected ( Control control ) : void
control Control Event source.
Résultat void

PostLayout() protected méthode

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

Render() protected méthode

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

UnselectAll() public méthode

Unselects all entries.
public UnselectAll ( ) : void
Résultat void