C# Class ScrewTurn.Wiki.TreeElement

Defines an item or element in an tree structure.
显示文件 Open project: mono/ScrewTurnWiki Class Usage Examples

Public Methods

Method Description
TreeElement ( string name, string text, List subItems ) : System

Initializes a new instance of the TreeElement class.

TreeElement ( string name, string text, string onClientClick ) : System

Initializes a new instance of the TreeElement class.

TreeElement ( string name, string text, string onClientClick, List subItems ) : System

Initializes a new instance of the TreeElement class.

Method Details

TreeElement() public method

Initializes a new instance of the TreeElement class.
public TreeElement ( string name, string text, List subItems ) : System
name string The name of the item.
text string The text of the item.
subItems List The sub-items.
return System

TreeElement() public method

Initializes a new instance of the TreeElement class.
public TreeElement ( string name, string text, string onClientClick ) : System
name string The name of the item.
text string The text of the item.
onClientClick string The JavaScript to execute on client click.
return System

TreeElement() public method

Initializes a new instance of the TreeElement class.
public TreeElement ( string name, string text, string onClientClick, List subItems ) : System
name string The name of the item.
text string The text of the item.
onClientClick string The JavaScript to execute on client click.
subItems List The sub-items.
return System