Skip to main content
A newer version of this page is available. .

TreeListView Class

A View that displays information in a Tree hierarchical structure.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public class TreeListView :
    GridDataViewBase,
    ITableView,
    IFormatsOwner

The following members return TreeListView objects:

Remarks

The TreeListView can display information as a TREE, a GRID, or a combination of both - in either data bound or unbound mode. Once you have created and customized a new instance of the TreeListView class, it should be assigned to the grid’s GridControl.View property.

TreeListView

The TreeListView supports standard data-aware and presentation features such as data editing, sorting, filtering, summary calculation, built-in validation, unbound columns, runtime column customization and more. Some of the TreeList-specific functionality includes:

  • 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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the TreeListView class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Implements

See Also