RadTreeDataGrid
A component that presents hierarchical data with rows and columns. The control is given an ItemsSource and each item in that source is presented by a row. If an item has children, then each child is also presented by a row, recursively. Items that have children can be expanded and collapsed. This component can have columns, where each cell in the column contains the corresponding value for an item (for the row). This component inherits RadDataGrid so almost all of its features will work here as well - like editing, cell templates, frozen columns, search, etc.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadTreeDataGrid : RadDataGrid, ICommandService
Inheritance: objectRadLayoutRadDataGridRadTreeDataGrid
Implements:
Inherited Members
Constructors
Initializes an instance of the class.
public RadTreeDataGrid()
Fields
ExpandCollapseIndicatorStyleProperty
BindableProperty
Identifies the ExpandCollapseIndicatorStyle property.
public static readonly BindableProperty ExpandCollapseIndicatorStyleProperty
ExpandCollapseIndicatorStyleSelectorProperty
BindableProperty
Identifies the ExpandCollapseIndicatorStyleSelector property.
public static readonly BindableProperty ExpandCollapseIndicatorStyleSelectorProperty
ItemDescriptorProperty
BindableProperty
Identifies the ItemDescriptor property.
public static readonly BindableProperty ItemDescriptorProperty
Properties
Gets or sets the Style for the appearance of the expand/collapse indicators within the grid. The Style should target TreeDataGridExpandCollapseIndicatorAppearance.
public Style ExpandCollapseIndicatorStyle { get; set; }
Gets or sets the IStyleSelector instance that may be used to select different styles for the expand/collapse indicator for the items.
public IStyleSelector ExpandCollapseIndicatorStyleSelector { get; set; }
Gets or sets the entity that describe an item, i.e. how to get the children for an item. The tree hierarchy is built based upon this descriptor.
public TreeDataGridItemDescriptor ItemDescriptor { get; set; }
Methods
Collapses the children of the item.
Expands the children of the item.