Anyone can tell me, How do I implement ObjectBaseViewModel and ViewModel for this case ?
WPF TreeView: How to style selected items with rounded corners like in Explorer,
I just want to kill the corners from the TreeView but I never have used ViewModel Pattern.
thanks in advance…
It looks like his example uses a viewmodel already, specifically in the binding to the HierarchicalDataTemplate in this piece:
You would just bind your ViewModel to the ItemsSource like he is doing with “Children”.