Skip to main content

MVCxTreeViewNode.Nodes Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxTreeViewNodeCollection Nodes { get; }

Property Value

Type Description
MVCxTreeViewNodeCollection

A MVCxTreeViewNodeCollection object representing the collection of the child nodes.

Remarks

Use the Nodes property to access the collection of child nodes of the current node. This collection contains only the nodes at the next level. To access nodes further down the TreeView, 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 a TreeView’s root node can be accessed via the TreeViewSettings.Nodes property of a TreeView settings object (TreeViewSettings).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Nodes property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also