Hello,
I have a tree view bound to hierarchical data using HierarchicalDataTemplate. I need to have an ability to filter content of the tree view when user type text in a textbox like in your demo project. The problem is that the view model is used by several views so it is not possible to filted data in view model and I cannot follow the solution from demo project. Is there a way to filter data in a view (tree view) without touching data in the view model? For plain collection it is easy to use CollectionViewSource but I don't know how to apply it to hierarchical data used by the tree. The additional difficulty is that I need to display parent node if it has any children even if it doesn't match the filter itself, like in demo project. Any suggestions? Thank you in advance.