Back to Devexpress

HierarchyTreeDescription Class

maui-devexpress-dot-maui-dot-treeview-d5ba451f.md

latest2.1 KB
Original Source

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

csharp
[DXLicenseMAUI]
public class HierarchyTreeDescription :
    TreeDescriptionBase

Remarks

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

xaml
<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.

Implements

INotifyPropertyChanged

IElementController

Inheritance

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

Extension Methods

Yield<HierarchyTreeDescription>()

YieldIfNotNull<HierarchyTreeDescription>()

See Also

HierarchyTreeDescription Members

DevExpress.Maui.TreeView Namespace