Class
TreeGrid

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

Definition

Namespace:Telerik.Windows.Controls.Pivot

Assembly:Telerik.Windows.Controls.Pivot.dll

Syntax:

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

TreeGrid()

Initializes a new instance of the TreeGrid class.

Declaration

cs-api-definition
public TreeGrid()

Fields

HierarchyAdapterProperty

Identifies the HierarchyAdapter dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HierarchyAdapterProperty

Field Value

DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

Properties

HierarchyAdapter

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

Declaration

cs-api-definition
public IHierarchyAdapter HierarchyAdapter { get; set; }

Property Value

IHierarchyAdapter

ItemsSource

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

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

Methods

CollapseColumn(object)

Collapse an item in the column area.

Declaration

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

Parameters

item

object

The item that will be collapsed.

CollapseRow(object)

Collapse an item in the row area.

Declaration

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

Parameters

item

object

The item that will be collapsed.

ExpandColumn(object)

Expand an item in the column area.

Declaration

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

Parameters

item

object

The item that will be expanded.

ExpandRow(object)

Expand an item in the row area.

Declaration

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

Parameters

item

object

The item that will be expanded.

IsColumnCollapsed(object)

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

Declaration

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

Parameters

item

object

The item.

Returns

bool

true if the item is collapsed; otherwise, false.

IsRowCollapsed(object)

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

Declaration

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

Parameters

item

object

The item.

Returns

bool

true if the item is collapsed; otherwise, false.