ClassRadTreeDataGrid
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
RadTreeDataGrid()
Initializes an instance of the class.
Declaration
public RadTreeDataGrid()
Fields
ExpandCollapseIndicatorStyleProperty
Identifies the ExpandCollapseIndicatorStyle property.
Declaration
public static readonly BindableProperty ExpandCollapseIndicatorStyleProperty
Field Value
BindableProperty
ExpandCollapseIndicatorStyleSelectorProperty
Identifies the ExpandCollapseIndicatorStyleSelector property.
Declaration
public static readonly BindableProperty ExpandCollapseIndicatorStyleSelectorProperty
Field Value
BindableProperty
ItemDescriptorProperty
Identifies the ItemDescriptor property.
Declaration
public static readonly BindableProperty ItemDescriptorProperty
Field Value
BindableProperty
Properties
ExpandCollapseIndicatorStyle
Gets or sets the Style for the appearance of the expand/collapse indicators within the grid. The Style should target TreeDataGridExpandCollapseIndicatorAppearance.
Declaration
public Style ExpandCollapseIndicatorStyle { get; set; }
Property Value
Style
ExpandCollapseIndicatorStyleSelector
Gets or sets the IStyleSelector instance that may be used to select different styles for the expand/collapse indicator for the items.
Declaration
public IStyleSelector ExpandCollapseIndicatorStyleSelector { get; set; }
Property Value
ItemDescriptor
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.
Declaration
public TreeDataGridItemDescriptor ItemDescriptor { get; set; }
Property Value
Methods
Collapse(object)
Collapses the children of the item.
Expand(object)
Expands the children of the item.
IsExpanded(object)
Gets a value indicating whether the item is currently expanded (has its children visible).