ComponentOne TreeView for ASP.NET WebForms
In This Topic
    TreeView Structure and Elements
    In This Topic

    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. This section will provide a visual and written overview of the structure and elements of C1TreeView.

    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:

    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. The following image illustrates the nodes and structure of the C1TreeView control.

    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.

    See Also