Does anyone know how to hide the [-] button for a treeview? The treeview will never be collapsed, and therefore I dont need the root node to have the collapse option. I know
I implemented this recently. On the TreeView control I just set:
IsHitTestVisible="False"
and added into my app.xaml:
Though this removes the ability to select any of the TreeViewItems.
I just did it because I wanted the simple hierachical representation of some data I had.