Tree class

Displays a hierarchical list of items, or nodes. Each node includes a caption and an optional bitmap. The user can select a node. If it has sub-nodes, the user can collapse or expand the node.

public class Tree

Constructors

NameDescription
Tree()Creates a TreeView control

Properties

NameDescription
Nodes { get; }The collection of nodes associated with this TreeView control
PathSeparator { get; set; }The delimeter string used by TreeNode.getFullPath().

Methods

NameDescription
GetNodeCount(bool)Returns count of nodes at root, optionally including all subtrees.
override ToString()Returns a string representation for this control.

Fields

NameDescription
Root

See Also