I'm trying to create a WPF windows explorer tree view file browser with check boxes for select multiple files. Check boxes should view only for the files. Like this enter image description here
I don`t have a lot experience in WPF it quite difficult for me to start.
Thanks.
I'll give you the simplest idea, on how it could be implemented. Considering two classes
FolderandFile(I've implemented my own simple classes fot the ease of the example):You would have this kind of
MultiselectTreeViewimplementation:You can then access you selected files with
SelectedFilesproperty.Here is the example of the usage (Tree is the instance of
MultiSelectTree):As a result you will have this: TreeView with checkboxes and multiselect
Now you'll have to figure out how to adjust the example that you've already used in Designing a WPF TreeView File Explorer