HtmlForgeX

API Reference

Class

FancyTree

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Fancy Tree element provides a tree view of the data in a graphical way.

Inheritance

Constructors

public FancyTree() #

Initializes a new instance of the FancyTree class.

Methods

public FancyTree AutoScroll(Boolean autoScroll) #
Returns: FancyTree

Enables or disables automatic scrolling of the tree.

Parameters

autoScroll System.Boolean requiredposition: 0
Whether auto scroll should be enabled.

Returns

The current FancyTree instance.

public FancyTree MinimumExpandLevel(Int32 level) #
Returns: FancyTree

Sets the minimum expand level for the tree.

Parameters

level System.Int32 requiredposition: 0
The level to expand to by default.

Returns

The current FancyTree instance.

RegisterLibraries() #

Registers the required libraries for FancyTree.

public FancyTreeNode Title(String title) #
Returns: FancyTreeNode

Adds a new top level node to the tree.

Parameters

title System.String requiredposition: 0
Text displayed for the new node.

Returns

The created FancyTreeNode.

public override String ToString() #
Returns: String

Renders the element as an HTML fragment.

Returns

The generated HTML.

Properties

public String Id { get; set; } #

Gets the unique identifier of the tree element.

public List<FancyTreeNode> Items { get; set; } #

Gets the list of nodes displayed by the control.

public FancyTreeOptions Options { get; set; } #

Gets the options used when rendering the tree.