Skip to content

DevExpress-Examples/wpf-treelist-use-child-nodes-selector-to-display-hierarchical-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF Tree List - Use the Child Nodes Selector to Display Hierarchical Data

This example displays the hierarchical data structure that contains different object types. If all objects have the same field that contains child nodes, use the Child Nodes Path technique.

  1. Create a selector class that implements the DevExpress.Xpf.Grid.IChildNodesSelector interface, and override the SelectChildren method that returns node children.
  2. Assign the selector class to the TreeListView.ChildNodesSelector property.
  3. Set the TreeListView.TreeDerivationMode property to ChildNodesSelector.

image

Files to Review

Documentation

More Examples