BootstrapTreeViewNode.Nodes Property

Gets the collection of child nodes within the particular node and provides indexed access to them.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v21.1.dll


public BootstrapTreeViewNodeCollection Nodes { get; }

Property Value

Type Description

A BootstrapTreeViewNodeCollection object representing the collection of the child nodes.


Use the Nodes property to access the collection of child nodes of the current node. This collection contains only the nodes at the next hierarchy level. To access nodes further down the Tree View, use the Nodes property of a child node. If the Nodes property is the null reference (Nothing in Visual Basic), the current node does not have any child nodes. A particular node can be accessed using index notation.

Note that the nodes of an Tree View’s root node can be accessed via the BootstrapTreeView.Nodes property of the BootstrapTreeView control.


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

The image below shows the result:


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