skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility and Security
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TreeGrid

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

Inheritance
System.Object
TableBase
TreeGrid
Inherited Members
TableBase.AllowSelectionProperty
TableBase.EditProviderProperty
TableBase.ColumnWidthProperty
TableBase.RowHeightProperty
TableBase.CellTooltipStyleProperty
TableBase.RowGroupTooltipStyleProperty
TableBase.ColumnGroupTooltipStyleProperty
TableBase.ColumnSubTotalsPositionProperty
TableBase.ColumnGrandTotalsPositionProperty
TableBase.RowSubTotalsPositionProperty
TableBase.RowGrandTotalsPositionProperty
TableBase.HorizontalLayoutProperty
TableBase.VerticalLayoutProperty
TableBase.QuickStyleProperty
TableBase.CellTextVerticalAlignmentProperty
TableBase.CellTextAlignmentProperty
TableBase.CellTextPaddingProperty
TableBase.RowHeaderStyleProperty
TableBase.RowHeaderStyleSelectorProperty
TableBase.RowHeaderTemplateProperty
TableBase.RowHeaderTemplateSelectorProperty
TableBase.ColumnHeaderStyleProperty
TableBase.ColumnHeaderStyleSelectorProperty
TableBase.ColumnHeaderTemplateProperty
TableBase.ColumnHeaderTemplateSelectorProperty
TableBase.CellTemplateProperty
TableBase.CellTemplateSelectorProperty
TableBase.RowToolTipIsEnabledProperty
TableBase.ColumnToolTipIsEnabledProperty
TableBase.CellToolTipIsEnabledProperty
TableBase.Refresh()
TableBase.OnApplyTemplate()
TableBase.MeasureOverride(Size)
TableBase.OnMouseWheel(MouseWheelEventArgs)
TableBase.OnAllowSelectionChanged(Boolean, Boolean)
TableBase.OnEditEnded(CellAggregateValue, Object)
TableBase.OnSelectionChanged()
TableBase.OnPropertyChanged(DependencyPropertyChangedEventArgs)
TableBase.AllowSelection
TableBase.EditProvider
TableBase.ColumnWidth
TableBase.RowHeight
TableBase.RowGroupTooltipStyle
TableBase.ColumnGroupTooltipStyle
TableBase.CellTooltipStyle
TableBase.ColumnSubTotalsPosition
TableBase.ColumnGrandTotalsPosition
TableBase.RowSubTotalsPosition
TableBase.RowGrandTotalsPosition
TableBase.VerticalLayout
TableBase.HorizontalLayout
TableBase.QuickStyle
TableBase.CellTextAlignment
TableBase.CellTextVerticalAlignment
TableBase.CellTextPadding
TableBase.RowHeaderStyle
TableBase.RowHeaderStyleSelector
TableBase.RowHeaderTemplate
TableBase.RowHeaderTemplateSelector
TableBase.ColumnHeaderStyle
TableBase.ColumnHeaderStyleSelector
TableBase.ColumnHeaderTemplate
TableBase.ColumnHeaderTemplateSelector
TableBase.CellTemplate
TableBase.CellTemplateSelector
TableBase.RowToolTipIsEnabled
TableBase.ColumnToolTipIsEnabled
TableBase.CellToolTipIsEnabled
TableBase.SelectionChanged
TableBase.EditEnded
Namespace: Telerik.Windows.Controls.Pivot
Assembly: Telerik.Windows.Controls.Pivot.dll

Syntax

public class TreeGrid : TableBase

Constructors

TreeGrid()

Initializes a new instance of the TreeGrid class.

Declaration
public TreeGrid()

Fields

HierarchyAdapterProperty

Identifies the HierarchyAdapter dependency property.

Declaration
public static readonly DependencyProperty HierarchyAdapterProperty
Field Value
System.Windows.DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
System.Windows.DependencyProperty

Properties

HierarchyAdapter

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

Declaration
public IHierarchyAdapter HierarchyAdapter { get; set; }
Property Value
IHierarchyAdapter

ItemsSource

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

Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable

Methods

CollapseColumn(Object)

Collapse an item in the column area.

Declaration
public void CollapseColumn(object item)
Parameters
System.Object item

The item that will be collapsed.

CollapseRow(Object)

Collapse an item in the row area.

Declaration
public void CollapseRow(object item)
Parameters
System.Object item

The item that will be collapsed.

ExpandColumn(Object)

Expand an item in the column area.

Declaration
public void ExpandColumn(object item)
Parameters
System.Object item

The item that will be expanded.

ExpandRow(Object)

Expand an item in the row area.

Declaration
public void ExpandRow(object item)
Parameters
System.Object item

The item that will be expanded.

IsColumnCollapsed(Object)

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

Declaration
public bool IsColumnCollapsed(object item)
Parameters
System.Object item

The item.

Returns
System.Boolean

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
public bool IsRowCollapsed(object item)
Parameters
System.Object item

The item.

Returns
System.Boolean

true if the item is collapsed; otherwise, false.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.