New to Telerik UI for WPFStart a free 30-day trial

Represents a control that displays data in a tree based grid.

Definition

Namespace:Telerik.Windows.Controls.Pivot

Assembly:Telerik.Windows.Controls.Pivot.dll

Syntax:

C#
public class TreeGrid : TableBase

Inheritance: objectTableBaseTreeGrid

Inherited Members TableBase.AllowSelectionPropertyTableBase.EditProviderPropertyTableBase.ColumnWidthPropertyTableBase.RowHeightPropertyTableBase.CellTooltipStylePropertyTableBase.RowGroupTooltipStylePropertyTableBase.ColumnGroupTooltipStylePropertyTableBase.ColumnSubTotalsPositionPropertyTableBase.ColumnGrandTotalsPositionPropertyTableBase.RowSubTotalsPositionPropertyTableBase.RowGrandTotalsPositionPropertyTableBase.HorizontalLayoutPropertyTableBase.VerticalLayoutPropertyTableBase.QuickStylePropertyTableBase.CellTextVerticalAlignmentPropertyTableBase.CellTextAlignmentPropertyTableBase.CellTextPaddingPropertyTableBase.RowHeaderStylePropertyTableBase.RowHeaderStyleSelectorPropertyTableBase.RowHeaderTemplatePropertyTableBase.RowHeaderTemplateSelectorPropertyTableBase.ColumnHeaderStylePropertyTableBase.ColumnHeaderStyleSelectorPropertyTableBase.ColumnHeaderTemplatePropertyTableBase.ColumnHeaderTemplateSelectorPropertyTableBase.CellTemplatePropertyTableBase.CellTemplateSelectorPropertyTableBase.RowToolTipIsEnabledPropertyTableBase.ColumnToolTipIsEnabledPropertyTableBase.CellToolTipIsEnabledPropertyTableBase.Refresh()TableBase.OnApplyTemplate()TableBase.MeasureOverride(Size)TableBase.OnMouseWheel(MouseWheelEventArgs)TableBase.OnAllowSelectionChanged(bool, bool)TableBase.OnEditEnded(CellAggregateValue, object)TableBase.OnSelectionChanged()TableBase.OnPropertyChanged(DependencyPropertyChangedEventArgs)TableBase.AllowSelectionTableBase.EditProviderTableBase.ColumnWidthTableBase.RowHeightTableBase.RowGroupTooltipStyleTableBase.ColumnGroupTooltipStyleTableBase.CellTooltipStyleTableBase.ColumnSubTotalsPositionTableBase.ColumnGrandTotalsPositionTableBase.RowSubTotalsPositionTableBase.RowGrandTotalsPositionTableBase.VerticalLayoutTableBase.HorizontalLayoutTableBase.QuickStyleTableBase.CellTextAlignmentTableBase.CellTextVerticalAlignmentTableBase.CellTextPaddingTableBase.RowHeaderStyleTableBase.RowHeaderStyleSelectorTableBase.RowHeaderTemplateTableBase.RowHeaderTemplateSelectorTableBase.ColumnHeaderStyleTableBase.ColumnHeaderStyleSelectorTableBase.ColumnHeaderTemplateTableBase.ColumnHeaderTemplateSelectorTableBase.CellTemplateTableBase.CellTemplateSelectorTableBase.RowToolTipIsEnabledTableBase.ColumnToolTipIsEnabledTableBase.CellToolTipIsEnabledTableBase.SelectionChangedTableBase.EditEnded...

Constructors

Initializes a new instance of the TreeGrid class.

C#
public TreeGrid()

Fields

HierarchyAdapterProperty

DependencyProperty

Identifies the HierarchyAdapter dependency property.

C#
public static readonly DependencyProperty HierarchyAdapterProperty

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

Properties

Gets or sets an IHierarchyAdapter used to describe the data hierarchy.

C#
public IHierarchyAdapter HierarchyAdapter { get; set; }

Gets or sets a collection used to generate the content of the TreeGrid.

C#
public IEnumerable ItemsSource { get; set; }

Methods

Collapse an item in the column area.

C#
public void CollapseColumn(object item)
Parameters:itemobject

The item that will be collapsed.

Collapse an item in the row area.

C#
public void CollapseRow(object item)
Parameters:itemobject

The item that will be collapsed.

Expand an item in the column area.

C#
public void ExpandColumn(object item)
Parameters:itemobject

The item that will be expanded.

Expand an item in the row area.

C#
public void ExpandRow(object item)
Parameters:itemobject

The item that will be expanded.

Gets a value that indicates if an item in the column area is collapsed.

C#
public bool IsColumnCollapsed(object item)
Parameters:itemobject

The item.

Returns:

bool

true if the item is collapsed; otherwise, false.

Gets a value that indicates if an item in the row area is collapsed.

C#
public bool IsRowCollapsed(object item)
Parameters:itemobject

The item.

Returns:

bool

true if the item is collapsed; otherwise, false.