BootstrapTreeViewNodeCollection.Add(String, String) Method

Adds a new node to the collection and specifies the node’s display text and name.

Namespace: DevExpress.Web.Bootstrap

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


public BootstrapTreeViewNode Add(
    string text,
    string name


Name Type Description
text String

A String value specifying the node’s display text. Initializes the node’s TreeViewNode.Text property.

name String

A String value specifying the name which identifies the created node. Initializes the node’s TreeViewNode.Name property.


Type Description

A BootstrapTreeViewNode object representing the newly created node.


Use the Add method to add a new node with the specified settings to the end of the BootstrapTreeViewNodeCollection object.

See Also