TreeList View

The TreeListView is designed to display information in a Tree - in either bound or unbound mode. Data is arranged in columns and nodes (rows). Grid columns correspond to data fields in a data source, nodes represent data records.

TreeListView

<dxg:GridControl AutoGenerateColumns="AddNew" 
                 EnableSmartColumnsGeneration="True" 
                 ItemsSource="{Binding Customers}">
    <dxg:GridControl.View>
        <dxg:TreeListView Name="treeListView" AutoWidth="True"
                          KeyFieldName="ID" ParentFieldName="ParentID"
                          TreeDerivationMode="Selfreference"/>
    </dxg:GridControl.View>
</dxg:GridControl>  

Along with the standard data-aware and presentation features such as data editing, sorting, filtering, summary calculation, built-in validation, unbound columns, runtime column customization and so on, its specific features include:

  • Hierarchical Data Presentation

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

  • TreeList View Unbound Mode

    In an unbound mode, you should manually build a TREE by creating nodes and adding them to the corresponding node collections.

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