Skip to main content

DxTreeView.Nodes Property

Provides access to the component node collection.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public RenderFragment Nodes { get; set; }

Property Value

Type Description

A collection of nodes (UI fragment) that the browser renders in the corresponding component’s markup.


Use the Nodes property to access a collection of nodes in the DxTreeView component. Every node in the collection is defined by the DxTreeViewNode class object and can contain its own Nodes collection.

The code below expands the Data Editors node:

        <DxTreeViewNode Name="Overview" Text="Overview" NavigateUrl="" />
        <DxTreeViewNode Name="Editors" Text="Data Editors" Expanded="true">
                <DxTreeViewNode Text="Combobox" NavigateUrl="" Target="_blank" />
                <DxTreeViewNode Text="Spin Edit" NavigateUrl="" />
        <DxTreeViewNode Name="FormLayout" Text="Form Layout" NavigateUrl="" BadgeText="Upd" />
        <DxTreeViewNode Name="TreeView" Text="TreeView" NavigateUrl="" BadgeText="New"  />
        <DxTreeViewNode Name="Tabs" Text="Tabs" NavigateUrl="" Visible="false" BadgeText="New" />

TreeView Node Collection

Online Demo

TreeView - Selection

See Also