wpf-9759-controls-and-libraries-tree-list.md
The WPF Tree List (TreeListControl) is a data-aware control designed to display and edit hierarchical data. The TreeListControl allows users to manage data (sort, filter, and so on).
Note
The Tree List is available as a stand-alone control or as one of the Data Grid Views.
Refer to the following topic for more information: Bind to Data.
The TreeListControl can display data in a tree from a self-referential (flat) or hierarchical data structure.
Self-Referential DataBuild a tree if objects in a data source contain Key and Parent fields.Child Nodes PathSet a path to the children field. Use this technique only when child and parent fields have the same object type.Child Nodes SelectorCreate a selector that returns node children. You can use this technique for different object types.Asynchronous Child Nodes SelectorFetch child nodes in a background thread to keep the TreeListView responsive to user actions.Hierarchical Data TemplatesCreate a template for different data types.Unbound ModeCreate a tree without a data source.
Refer to the following help topic for more information: Display Hierarchical Data.
The TreeListControl allows you to:
In-place Editing
New Item Row
The TreeListControl allows you to Sort Data against one or multiple columns.
The TreeListControl supports the following ways to filter and search data:
Automatic Filter Row & Filter Panel
Column Drop-Down Filter
Search Panel
The TreeListControl allows you to display Data Summaries for individual columns or children of each node. The control ships with a number of built-in functions, such as Sum, Maximum Value, Record Count, and others. You can also implement a custom aggregation function.
The TreeListControl allows you to select nodes, cells, or their ranges.
The TreeListControl supports native drag-and-drop that allows users to:
The TreeListControl supports Conditional Formatting. You can highlight critical information, identify trends and exceptions, and compare data.
The TreeListControl allows you to change the data layout, appearance, and visual presentation of elements (for example, cells, nodes, summaries, etc.).
The TreeListControl allows you to print data and export it in various formats - PDF, RTF, XLS, etc.
Extended design-time support allows you to configure the TreeListControl.
See Also