Skip to main content
A newer version of this page is available. .

ASPxTreeList.RootNode Property

Provides access to the root node.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public TreeListNode RootNode { get; }

Property Value

Type Description
TreeListNode

A TreeListNode object that represents the root node.

Remarks

The Root node is a parent node for all nodes displayed within the ASPxTreeList. This is a special node which isn’t displayed within the ASPxTreeList. The collection of its child nodes can be accessed via the ASPxTreeList.Nodes property. Nodes contained within this collection are displayed as root nodes within the ASPxTreeList.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RootNode 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