Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 3.67 KB

File metadata and controls

43 lines (30 loc) · 3.67 KB

WPF Tree List - Bind to Self-Referential Data Structure

This example shows how to create a self-referential data structure and display it in the TreeListView.

image

To display this tree structure, your data source should include the following fields of the same data type:

  • Key Field - This field should contain unique values used to identify nodes. Assign its name to the TreeListView.KeyFieldName property.
  • Parent Field - This field should contain values that indicate parent nodes. Assign its name to the TreeListView.ParentFieldName property.

Set the TreeListView.TreeDerivationMode property to Selfreference to enable the self-referential mode.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)