A newer version of this page is available. Switch to the current version.

BootstrapTreeViewNodeCollection Class

A collection of nodes within the Tree View control.

Namespace: DevExpress.Web.Bootstrap

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


public class BootstrapTreeViewNodeCollection :
Public Class BootstrapTreeViewNodeCollection
    Inherits TreeViewNodeCollection

Related API Members

The following members accept/return BootstrapTreeViewNodeCollection objects:


Each node within a Tree View can have its own child nodes, held within a collection, which is an instance of the BootstrapTreeViewNodeCollection class and can be accessed via the Nodes property. The properties and methods exposed by the BootstrapTreeViewNodeCollection class can be used to perform collection operations, such as adding new or deleting existing nodes. Each node of the collection is denoted by a BootstrapTreeViewNode object. Individual nodes can be accessed using indexer notation, by their names or display texts, using the specific methods of the collection.


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