Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HierarchyTreeDescription Class

Describes how to build a hierarchy of tree nodes.

Namespace: DevExpress.Maui.TreeView

Assembly: DevExpress.Maui.TreeView.dll

NuGet Package: DevExpress.Maui.TreeView

#Declaration

C#
public class HierarchyTreeDescription :
    TreeDescriptionBase

#Remarks

The following code snippet specifies the hierarchical data structure for the DXTreeView control:

<dxt:DXTreeView ...
    x:Name="treeView"
    ItemsSource="{Binding Nodes}" 
    ItemTemplate="{StaticResource nodeTemplate}"
    DisplayMember="Name" >
    <dxt:DXTreeView.TreeDescription>
        <dxt:HierarchyTreeDescription ChildNodeFieldName="Nodes"/>
    </dxt:DXTreeView.TreeDescription>
</dxt:DXTreeView>

For more information, refer to the following help topic: Hierarchical Data Structure.

#Inheritance

System.Object
BindableObject
Element
DevExpress.Maui.Core.Internal.DXElementBaseCore
DXElementBase
TreeDescriptionBase
HierarchyTreeDescription
See Also