New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class TreeViewDescriptor : BindableObject

Inheritance: objectTreeViewDescriptor

Constructors

C#
public TreeViewDescriptor()

Fields

Identifies the DisplayMemberPath property.

C#
public static readonly BindableProperty DisplayMemberPathProperty

Identifies the IdentityMemberPath property.

C#
public static readonly BindableProperty IdentityMemberPathProperty

ItemsSourcePathProperty

BindableProperty

Identifies the ItemsSourcePath property.

C#
public static readonly BindableProperty ItemsSourcePathProperty

ItemStyleProperty

BindableProperty

Identifies the ItemStyle property.

C#
public static readonly BindableProperty ItemStyleProperty

ItemTemplateProperty

BindableProperty

Identifies the ItemTemplate property.

C#
public static readonly BindableProperty ItemTemplateProperty

TargetTypeProperty

BindableProperty

Identifies the TargetType property.

C#
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.

C#
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.

C#
public string IdentityMemberPath { get; set; }

Gets or sets the path to the child items source of the data item.

C#
public string ItemsSourcePath { get; set; }

Gets or sets the Style to be applied to the respective type of items. The target type of this Style is TreeViewItemView.

C#
public Style ItemStyle { get; set; }

ItemTemplate

DataTemplate

Gets or sets the DataTemplate to be applied to the respective type of items.

C#
public DataTemplate ItemTemplate { get; set; }

Gets or sets the Type of a data item.

C#
public Type TargetType { get; set; }