The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapTreeView.Nodes Property

Provides access to the root node child collection.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.2.dll

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapTreeViewNodeCollection Nodes { get; }
<PersistenceMode(PersistenceMode.InnerProperty)>
Public ReadOnly Property Nodes As BootstrapTreeViewNodeCollection

Property Value

Type Description
BootstrapTreeViewNodeCollection

A BootstrapTreeViewNodeCollection object that represents the collection of child nodes owned by the root node.

Remarks

Use the Nodes property to access the root node child collection. The root node can be accessed via the ASPxTreeView.RootNode property.

Examples

This example demonstrates the basic functionality of the Tree View control.

The image below shows the result:

BootstrapTreeView_Overview

<dx:BootstrapTreeView runat="server">
    <Nodes>
        <dx:BootstrapTreeViewNode Text="Home" Expanded="true">
            <Nodes>
                <dx:BootstrapTreeViewNode Text="News">
                    <Nodes>
                        <dx:BootstrapTreeViewNode Text="For Developers">
                        </dx:BootstrapTreeViewNode>
                        <dx:BootstrapTreeViewNode Text="Website news">
                        </dx:BootstrapTreeViewNode>
                    </Nodes>
                </dx:BootstrapTreeViewNode>
                <dx:BootstrapTreeViewNode Text="Our Mission">
                </dx:BootstrapTreeViewNode>
            </Nodes>
        </dx:BootstrapTreeViewNode>
        ...
    </Nodes>
</dx:BootstrapTreeView>
See Also