C# Class Flood.GUI.Controls.TreeControl

Tree control.
Inheritance: TreeNode
Datei anzeigen Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
OnNodeAdded ( TreeNode node ) : void

Handler for node added event.

RemoveAll ( ) : void

Removes all child nodes.

TreeControl ( Control parent )

Initializes a new instance of the TreeControl class.

Protected Methods

Method Description
OnChildBoundsChanged ( Rectangle oldChildBounds, Control child ) : void

Handler invoked when control children's bounds change.

OnNodeSelected ( Control Control ) : void

Handler for node selected event.

Render ( Skins skin ) : void

Renders the control using specified skin.

Method Details

OnChildBoundsChanged() protected method

Handler invoked when control children's bounds change.
protected OnChildBoundsChanged ( Rectangle oldChildBounds, Control child ) : void
oldChildBounds Rectangle
child Control
return void

OnNodeAdded() public method

Handler for node added event.
public OnNodeAdded ( TreeNode node ) : void
node TreeNode Node added.
return void

OnNodeSelected() protected method

Handler for node selected event.
protected OnNodeSelected ( Control Control ) : void
Control Control Node selected.
return void

RemoveAll() public method

Removes all child nodes.
public RemoveAll ( ) : void
return void

Render() protected method

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

TreeControl() public method

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