Version

Tree View

Tree View expresses your data in the form of a table, containing regular columns and rows because it has a view extending from the GridViewBase (like the Grid View). However, the Tree View has a special "tree-field" which contains a tree representation of the hierarchical data bound to the control. The user has the ability to browse through the nested records' levels by expanding and collapsing them using the designated expansion indicators.

The following screenshot shows a Tree View displaying hierarchical structure of records with the tree positioned in the "Name" field. The "Name" field in this example is using a custom template for the TreeCellValuePresenter which displays an image for each record:

xamTreeGrid 02.png

Main features summary

The following table summarizes the main features of the Tree View in addition to the features supported by the Grid View. More details are available after the summary table.

Feature Description

You can specify field in which the tree will be positioned.

Expanding and collapsing of nested records.

Selection of cross-level records.

Filtering of multi-level records.

Multi-level records' summaries.

Exporting data to Microsoft® Excel® file format and Microsoft® Word® file format.

Tree Field

You can specify the field in which the tree will be displayed and also position the tree on the left or on the right side of the field using the FlowDirection property.

Related Topic:

Expand/Collapse

The view supports expanding and collapsing of nested records using expansion indicators. The initial state of the expansion indicators can be configured.

Related Topic:

Tree Selection

The view supports cross-level selection.

Related Topic:

Tree Filtering

The view supports multi-level record filtering. You can configure how the view displays records which do not match the filtering criteria.

Related Topic:

Tree Summaries

The view supports summaries for each nested record level. You can specify the calculators for each field.

Related Topic:

Exporting Data

As any other view, the Tree View supports data exporting to popular Microsoft® Excel® file format and Word® file format.

Related Topics: