Home » FAQ » WPF » TreeView » How do I bind a flat table/list containing self-referencing data to a TreeView to render it in a hierarchical view?
The following article illustrates how you can first shape a flat table or list into a hierarchical list and then bind the resultant hierachy to the tree:
.NET – LINQ AsHierarchy() extension method
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with