ComponentOne TreeView for ASP.NET: TreeView Structure

TreeView Structure

C1TreeView is a tree type Web control that displays a hierarchical tree structure. A tree structure is used to represent hierarchical data into a graphical form.

A tree contains one or more elements where each element is a node. A node can be a parent, child, or leaf node. The description for each type of node is as follows:

      Parent node is a node that contains other nodes.

      Child node is a node that is contained by another node.

      Leaf node is a node that does not contain child nodes.

Like the classic tree structure, the C1TreeView contains one or more nodes that consist of parent, child, and leaf nodes. The parent, child, and leaf nodes are referred as C1TreeViewNodes.

C1TreeView is drawn like an inverted tree where the root appears first. The C1TreeView can contain one or more root nodes. If a node has child nodes it can be collapsed or expanded. The ShowExpandCollapse property allows nodes to be expanded or collapsed when set to true. Each node can have text and an image associated with it, may be edited, selected, or display check boxes depending upon the property settings for the C1TreeView and C1TreeViewNode objects. The tree node can be rendered as a hyperlink and have a URL associated with it.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.