Class HierarchyPropertyDescriptor
Represents a class that contains data object type and property name information. TreeView generates child nodes based on ChildPropertyName if the type of data object matches TargetType.
Inheritance
System.Object
HierarchyPropertyDescriptor
Namespace: Syncfusion.TreeView.Engine
Assembly: Syncfusion.Maui.TreeView.dll
Syntax
public class HierarchyPropertyDescriptor : Object
Constructors
HierarchyPropertyDescriptor()
Declaration
public HierarchyPropertyDescriptor()
Properties
ChildPropertyName
Gets or sets the property name based on the child nodes created for a node in treeview.
Declaration
public string ChildPropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The property name of the child. |
TargetType
Gets or sets the type of the data object that is bound to the treeview nodes.
Declaration
public Type TargetType { get; set; }
Property Value
Type | Description |
---|---|
System.Type | The type of the data object. |