Skip to main content

TreeListView.TreeDerivationMode Property

Gets or sets the tree derivation mode. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core


public TreeDerivationMode TreeDerivationMode { get; set; }

Property Value

Type Description

A TreeDerivationMode enumeration value that specifies the tree derivation mode.

Available values:

Name Description

Builds a tree from a self-referential data structure. To learn more, see Bind to Self-Referential Data Structure.


You should manually write code to specify where a data object’s child items come from by creating a selector class. To learn more, see Bind to Hierarchical Data Structure.


Builds a tree using Hierarchical Data Templates. To learn more, see Hierarchical Data Templates.


In data bound mode, the TreeListView can display information in a tree from either a self-referential (flat) or hierarchical data structure. For each type of a data structure, it provides the corresponding tree derivation mode(s), specified via the TreeDerivationMode property.

If the TreeDerivationMode property is set to TreeDerivationMode.HierarchicalDataTemplate, optimized mode is automatically disabled.

To learn more, see Binding to Hierarchical Data Overview.

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


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.

See Also