title: populate treeview from list of file paths in wpf
body: <p>There are several examples of how to populate a tree view from a collection of file paths such as <a href="https://stackoverflow.com/questions/673931/file-system-treeview">this</a> or <a href="https://stackoverflow.com/questions/2436201/how-to-make-a-treeview-from-a-database-column-filepath">this other</a> example. I cannot seem to find such example for WPF. I know I can integrate windows forms and use a different control in order to make it work but it will be nice if I could do the same thing with a wpf treeview control. The tree view that I want to construct consists of about 50,000 files therefore I think it will be better if it is bind it to something. But first before binding it, I think it will be helpful to construct one based on a List of strings (strings contains the paths of files). </p>