Skip to main content

BootstrapTreeViewNodeCollection.Add(String) Method

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

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public BootstrapTreeViewNode Add(
    string text
)

Parameters

Name Type Description
text String

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

Returns

Type Description
BootstrapTreeViewNode

A BootstrapTreeViewNode object representing the newly created node.

Remarks

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

See Also