Later, I ported some fixes from the original code, and I’m going to continue monitoring that repository occasionally. Since I didn’t want to give up my extensions, I decided to fork the project publicly, under a new name to avoid confusion. In nice contact with the original author, I eventually discovered that we wouldn’t agree on a common source base. ![]() As I made progress in fixing some of its bugs and understanding its internals (and more WPF in general), I found that this control would be the solution to my needs. In fact it uses the same base classes as the stock TreeView. It was essentially written from scratch using the base controls WPF provides for this case. Then I found the TreeViewEx project by Goroll which made a good impression and had a solid architecture. Most of them had some major issues with data handling or keyboard interaction. So there are hacks that take the standard WPF TreeView control and just replace the selection logic, or even just the selection painting, and there are ListView derivates that insert and remove virtual subitems when the user expands or collapses a node. I was eventually searching for a good solution myself when I needed one for a client project. So I guess there must be some need for it. ![]() There are a number of efforts available on the web where people have tried to add multiple selection support to tree view controls in Windows Forms and WPF. ![]() MultiSelectTreeView package on NuGet History That way, it can be integrated and updated in a Visual Studio project very quickly. This package is also available through NuGet. You can also head over to GitHub to download any previous revision or check the issue tracker: Download master.zip Latest version directly from GitHub
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |