I need something just like this:
(I need both the TreeView and the ListView aspects. That is, Hirearchy and Columns.)
But, I need it in WPF. is this something that is built in, or am I going to have to build it myself?
I assume it has to be somewhere in the framework, since VS2010 is build in WPF.
Edit: I have managed to get some of the functionality that I want using a TreeView and some grids with their Columns bound to a Parent grid's columns, but there are too many quirks in the functionality.
Edit 2: I still have as-of-yet not found a way to do this. Any ideas?
This post on MSDN makes use of native WPF to achieve a TreeView/Grid hybrid. It is based on the TreeView and Grid controls. It supports a treeview with multiple columns, but does not support sorting or filtering
http://dlaa.me/blog/post/9898803
EDIT: I have recently integrated this code and it works very nicely, gives you exactly what you want: http://www.codeproject.com/Articles/30721/WPF-TreeListView-Control
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With