aspnetbootstrap-devexpress-dot-web-dot-bootstrap-7148f173.md
A collection of nodes within the Tree View control.
Namespace : DevExpress.Web.Bootstrap
Assembly : DevExpress.Web.Bootstrap.v25.2.dll
NuGet Package : DevExpress.Web.Bootstrap
public class BootstrapTreeViewNodeCollection :
TreeViewNodeCollection
Public Class BootstrapTreeViewNodeCollection
Inherits TreeViewNodeCollection
The following members 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">
<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>
Object StateManagedCollectionBase Collection Collection<TreeViewNode> HierarchicalCollection<TreeViewNode> TreeViewNodeCollection BootstrapTreeViewNodeCollection
See Also