Tree List Editors (Organize Hierarchical Data)
You can display list data in a tree structure to show parent-child relationships. This is useful for hierarchical data like categories, organizational charts, or folder structures.
XAF includes the TreeList Editors module to create tree-like displays. This module uses the following controls:
- ASP.NET Core Blazor
- DxTreeList
- Windows Forms
- TreeList
How to Use Tree Lists
To display data in a tree list, use one of the following options:
- Implement interfaces in your business classes
- Add specific interfaces to your existing classes to define the tree structure
- Use ready-made classes
- Use pre-built classes from the Business Class Library
For more information, refer to the following topic: Tree-like Data Structure with ITreeNode Objects
You can also customize tree list controls by accessing them in code. You can modify the default settings or activate additional features. For more information about these controls, see WinForms TreeList and Blazor DxTreeList documentation.