Class
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:

cs-api-definition
public class RadTreeDataGrid : RadDataGrid, ICommandService

Inheritance: objectRadLayoutRadDataGridRadTreeDataGrid

Implements: ICommandService

Inherited Members RadDataGrid.AutoGenerateColumnsPropertyRadDataGrid.ShowColumnFootersPropertyRadDataGrid.GroupHeaderStylePropertyRadDataGrid.GroupHeaderStyleSelectorPropertyRadDataGrid.GroupFooterStylePropertyRadDataGrid.GroupFooterStyleSelectorPropertyRadDataGrid.GroupHeaderTemplatePropertyRadDataGrid.GroupHeaderTemplateSelectorPropertyRadDataGrid.GroupFooterTemplatePropertyRadDataGrid.IsBusyPropertyRadDataGrid.UserSortModePropertyRadDataGrid.UserGroupModePropertyRadDataGrid.UserFilterModePropertyRadDataGrid.DataOperationIndicationModePropertyRadDataGrid.ViewportBufferHeightPropertyRadDataGrid.ListenForNestedPropertyChangePropertyRadDataGrid.RowHeightPropertyRadDataGrid.DraggedObjectPropertyRadDataGrid.ShowGroupFootersPropertyRadDataGrid.ShowGroupHeaderAggregatesPropertyRadDataGrid.GroupAggregatesAlignmentPropertyRadDataGrid.GroupAggregateCellTemplatePropertyRadDataGrid.GroupAggregateCellStylePropertyRadDataGrid.GroupAggregateCellStyleSelectorPropertyRadDataGrid.ServicePanelPropertyRadDataGrid.SearchPanelPropertyRadDataGrid.EmptyContentTemplatePropertyRadDataGrid.EmptyContentDisplayModePropertyRadDataGrid.FrozenColumnsSplitterStylePropertyRadDataGrid.BorderBrushPropertyRadDataGrid.BorderThicknessPropertyRadDataGrid.SearchSettingsPropertyRadDataGrid.RenderModePropertyRadDataGrid.AreGroupHeadersClippedWhenFrozenPropertyRadDataGrid.AutoExpandGroupsPropertyRadDataGrid.CurrentCellPropertyRadDataGrid.CurrentCellStylePropertyRadDataGrid.ItemsSourcePropertyRadDataGrid.ApplyDataOperationsOnPropertyChangePropertyRadDataGrid.GroupDescriptorsPropertyRadDataGrid.FilterDescriptorsPropertyRadDataGrid.SortDescriptorsPropertyRadDataGrid.GridLinesVisibilityPropertyRadDataGrid.GridLinesThicknessPropertyRadDataGrid.GridLinesColorPropertyRadDataGrid.RowBackgroundStylePropertyRadDataGrid.AlternateRowBackgroundStylePropertyRadDataGrid.RowBackgroundStyleSelectorPropertyRadDataGrid.UserEditModePropertyRadDataGrid.LoadOnDemandModePropertyRadDataGrid.LoadOnDemandBufferItemsCountPropertyRadDataGrid.LoadOnDemandRowTemplatePropertyRadDataGrid.LoadOnDemandAutoTemplatePropertyRadDataGrid.LoadOnDemandRowStylePropertyRadDataGrid.CanUserResizeColumnsPropertyRadDataGrid.CanUserReorderColumnsPropertyRadDataGrid.RowDetailsTemplatePropertyRadDataGrid.ExpandedRowDetailsPropertyRadDataGrid.CanUserExpandMultipleRowDetailsPropertyRadDataGrid.AreRowDetailsFrozenPropertyRadDataGrid.SelectionUnitPropertyRadDataGrid.SelectionModePropertyRadDataGrid.SelectedItemPropertyRadDataGrid.SelectionStylePropertyRadDataGrid.SelectedItemsPropertyRadDataGrid.MouseHoverStylePropertyRadDataGrid.ColumnHeaderDragVisualTemplatePropertyRadDataGrid.ColumnReorderIndicatorTemplatePropertyRadDataGrid.GroupingPanelItemTemplatePropertyRadDataGrid.GetDistinctValues(DataGridColumn, bool)RadDataGrid.ScrollItemIntoView(object)RadDataGrid.ScrollColumnIntoView(DataGridColumn)RadDataGrid.OnHandlerChanged()RadDataGrid.OnPropertyChanged(string)RadDataGrid.CanRebuildUI(UpdateFlags)RadDataGrid.GetDataView()RadDataGrid.CreateFilterTapContext(DataGridColumn)RadDataGrid.OnBindingContextChanged()RadDataGrid.SelectItem(object)RadDataGrid.DeselectItem(object)RadDataGrid.SelectCell(DataGridCellInfo)RadDataGrid.DeselectCell(DataGridCellInfo)RadDataGrid.SelectAll()RadDataGrid.DeselectAll()RadDataGrid.ColumnsRadDataGrid.FrozenColumnsRadDataGrid.UnfrozenColumnsRadDataGrid.AutoGenerateColumnsRadDataGrid.ShowColumnFootersRadDataGrid.GroupHeaderStyleRadDataGrid.GroupHeaderStyleSelectorRadDataGrid.GroupFooterStyleRadDataGrid.GroupFooterStyleSelectorRadDataGrid.GroupHeaderTemplateRadDataGrid.GroupHeaderTemplateSelectorRadDataGrid.GroupFooterTemplateRadDataGrid.IsBusyRadDataGrid.UserSortModeRadDataGrid.UserGroupModeRadDataGrid.UserFilterModeRadDataGrid.DataOperationIndicationModeRadDataGrid.CommandsRadDataGrid.CommandServiceRadDataGrid.ViewportBufferHeightRadDataGrid.ListenForNestedPropertyChangeRadDataGrid.RowHeightRadDataGrid.ShowGroupFootersRadDataGrid.ShowGroupHeaderAggregatesRadDataGrid.GroupAggregatesAlignmentRadDataGrid.GroupAggregateCellTemplateRadDataGrid.GroupAggregateCellStyleRadDataGrid.GroupAggregateCellStyleSelectorRadDataGrid.ServicePanelRadDataGrid.SearchPanelRadDataGrid.EmptyContentTemplateRadDataGrid.EmptyContentDisplayModeRadDataGrid.FrozenColumnsSplitterStyleRadDataGrid.BorderBrushRadDataGrid.BorderThicknessRadDataGrid.SearchSettingsRadDataGrid.RenderModeRadDataGrid.AreGroupHeadersClippedWhenFrozenRadDataGrid.AutoExpandGroupsRadDataGrid.CurrentCellRadDataGrid.CurrentCellStyleRadDataGrid.ItemsSourceRadDataGrid.ApplyDataOperationsOnPropertyChangeRadDataGrid.SortDescriptorsRadDataGrid.GroupDescriptorsRadDataGrid.FilterDescriptorsRadDataGrid.GridLinesVisibilityRadDataGrid.GridLinesThicknessRadDataGrid.GridLinesColorRadDataGrid.RowBackgroundStyleRadDataGrid.AlternateRowBackgroundStyleRadDataGrid.RowBackgroundStyleSelectorRadDataGrid.UserEditModeRadDataGrid.LoadOnDemandModeRadDataGrid.LoadOnDemandBufferItemsCountRadDataGrid.LoadOnDemandRowTemplateRadDataGrid.LoadOnDemandAutoTemplateRadDataGrid.LoadOnDemandRowStyleRadDataGrid.HitTestServiceRadDataGrid.CanUserResizeColumnsRadDataGrid.CanUserReorderColumnsRadDataGrid.RowDetailsTemplateRadDataGrid.ExpandedRowDetailsRadDataGrid.CanUserExpandMultipleRowDetailsRadDataGrid.AreRowDetailsFrozenRadDataGrid.SelectionUnitRadDataGrid.SelectionModeRadDataGrid.SelectedItemRadDataGrid.SelectionStyleRadDataGrid.SelectedItemsRadDataGrid.VisualStateServiceRadDataGrid.MouseHoverStyleRadDataGrid.ColumnHeaderDragVisualTemplateRadDataGrid.ColumnReorderIndicatorTemplateRadDataGrid.GroupingPanelItemTemplateRadDataGrid.DataBindingCompleteRadDataGrid.DistinctValuesLoadingRadDataGrid.CurrentCellChangedRadDataGrid.LoadOnDemandRadDataGrid.ColumnReorderStartingRadDataGrid.ColumnReorderingRadDataGrid.ColumnReorderCompletingRadDataGrid.ColumnReorderedRadDataGrid.ColumnUserResizeCompletedRadDataGrid.SelectionChangedRadLayout.CreateLayoutManager()

Constructors

RadTreeDataGrid()

Initializes an instance of the class.

Declaration

cs-api-definition
public RadTreeDataGrid()

Fields

ExpandCollapseIndicatorStyleProperty

Identifies the ExpandCollapseIndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ExpandCollapseIndicatorStyleProperty

Field Value

BindableProperty

ExpandCollapseIndicatorStyleSelectorProperty

Identifies the ExpandCollapseIndicatorStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty ExpandCollapseIndicatorStyleSelectorProperty

Field Value

BindableProperty

ItemDescriptorProperty

Identifies the ItemDescriptor property.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public IStyleSelector ExpandCollapseIndicatorStyleSelector { get; set; }

Property Value

IStyleSelector

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

cs-api-definition
public TreeDataGridItemDescriptor ItemDescriptor { get; set; }

Property Value

TreeDataGridItemDescriptor

Methods

Collapse(object)

Collapses the children of the item.

Declaration

cs-api-definition
public void Collapse(object item)

Parameters

item

object

Expand(object)

Expands the children of the item.

Declaration

cs-api-definition
public void Expand(object item)

Parameters

item

object

IsExpanded(object)

Gets a value indicating whether the item is currently expanded (has its children visible).

Declaration

cs-api-definition
public bool IsExpanded(object item)

Parameters

item

object

Returns

bool