System.Web.UI.WebControls.TreeNode: Method Members

The methods of System.Web.UI.WebControls.TreeNode are listed below. For a list of all members, see the TreeNode Members list.

See Also: Inherited members from System.Object

Public Methods

Clone() : object

Creates a new instance of the System.Web.UI.WebControls.TreeNode class with the properties of the current System.Web.UI.WebControls.TreeNode instance.

Collapse()

Collapses the current tree node.

CollapseAll()

Collapses the current node and all its child nodes.

Expand()

Expands the current tree node.

ExpandAll()

Expands the current node and all its child nodes.

Select()

Selects the current node in the System.Web.UI.WebControls.TreeView control.

ToggleExpandState()

Alternates between the expanded and collapsed state of the node.

Protected Methods

LoadViewState(object)

Loads the previously saved view state of the node.

RenderPostText(System.Web.UI.HtmlTextWriter)

Allows control developers to add additional rendering to the node.

RenderPreText(System.Web.UI.HtmlTextWriter)

Allows control developers to add additional rendering to the node.

SaveViewState() : object

Saves the current view state of the node.

TrackViewState()

Marks the starting point at which to begin tracking and saving view state changes to the node.