A newer version of this page is available. Switch to the current version.

TreeListControl Class

The TreeList control.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll


public class TreeListControl :
Public Class TreeListControl
    Inherits TreeListControlBase

Related API Members

The following members accept/return TreeListControl objects:


The WPF DXTreeList is a TreeView-Grid multi-purpose data-aware control that can display information as a TREE, a GRID, or a combination of both - in either data bound or unbound mode.

The TreeListControl inherits the majority of market-leading features exposed by the WPF DXGrid. This includes: data editing, automatic and custom sorting and filtering, full end-user customization options, editable unbound columns and DevExpress Expression editor, built-in validation, automatic and manual summary calculation, UI virtualization and per-pixel scrolling, template and style support, UI localization, extendable context menus, design-time support and much more...


The WPF TreeList control uses the same View-based data presentation approach introduced by the DXGrid for WPF. It presents the most widely used method of presenting data - TreeListView. This view supports multi-column display of hierarchical data, data shaping and layout customization features such as Sorting and Filtering, Data Editing via Embedded Cell Editors, Column Auto Width, Column Reordering and Resizing, Fixed Columns, Field Chooser Window and Extendable Context Menus.

To bind the TreeList control to a data source, use the DataControlBase.ItemsSource property.


  • Hierarchical Data Presentation

    The information is displayed in a TREE from hierarchical data structures.

  • On-Demand Data Loading

    A tree can be created on demand. Child nodes are dynamically created and initialized when their parent node is expanded.

  • Unbound Data Binding Mode

    You can manually create a TREE in XAML or code. Nodes can be represented by objects of different types. The only requirement is that these data objects should have common fields (columns).

  • Tree-Traversal API

    To simplify managing hierarchical data (without writing additional recursive code), the WPF DXTreeList ships with an easy to use API, so you can sequentially visit nodes starting from a specified node down to the last node.


This example shows how to create a self referencing data structure and display it within the TreeListControl.

Imports System
Imports System.Collections.Generic
Imports System.Configuration
Imports System.Data
Imports System.Linq
Imports System.Windows

Namespace TreeList_DataBinding
    ''' <summary>
    ''' Interaction logic for App.xaml
    ''' </summary>
    Partial Public Class App
        Inherits Application

    End Class
End Namespace
See Also