TreeViewDescriptor
Provides a description of a hierarchical items source for the RadTreeView. You must set the TargetType property to the corresponding item type.
Definition
Namespace:Telerik.Maui.Controls.TreeView
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class TreeViewDescriptor : BindableObject
Inheritance: objectTreeViewDescriptor
Constructors
public TreeViewDescriptor()
Fields
DisplayMemberPathProperty
BindableProperty
Identifies the DisplayMemberPath property.
public static readonly BindableProperty DisplayMemberPathProperty
IdentityMemberPathProperty
BindableProperty
Identifies the IdentityMemberPath property.
public static readonly BindableProperty IdentityMemberPathProperty
ItemsSourcePathProperty
BindableProperty
Identifies the ItemsSourcePath property.
public static readonly BindableProperty ItemsSourcePathProperty
ItemStyleProperty
BindableProperty
Identifies the ItemStyle property.
public static readonly BindableProperty ItemStyleProperty
ItemTemplateProperty
BindableProperty
Identifies the ItemTemplate property.
public static readonly BindableProperty ItemTemplateProperty
TargetTypeProperty
BindableProperty
Identifies the TargetType property.
public static readonly BindableProperty TargetTypeProperty
Properties
Gets or sets the path to the display member of the data item. The display member is used to visualize the item on the screen. If the property is not specified, the entire item is used instead.
public string DisplayMemberPath { get; set; }
Gets or sets the path to the identity member of the data item. The identifier member is used to identify the item in the hierarchy. If the property is not specified, the entire item is used instead.
public string IdentityMemberPath { get; set; }
Gets or sets the path to the child items source of the data item.
public string ItemsSourcePath { get; set; }
ItemStyle
Style
Gets or sets the Style to be applied to the respective type of items. The target type of this Style is TreeViewItemView.
public Style ItemStyle { get; set; }
ItemTemplate
DataTemplate
Gets or sets the DataTemplate to be applied to the respective type of items.
public DataTemplate ItemTemplate { get; set; }
Gets or sets the Type of a data item.
public Type TargetType { get; set; }