Hello,
I have a TreeViewAdv control that supports multi-selection and there is particular a scenario where I want to set a single item in the tree as selected when the user performs a certain action. I do this through two way binding to the SelectedTreeItem. There are two issues i'm having that I need help with:
1) The style when I set the selected item via two way binding is different than when I select it from the TreeViewAdv control. I need these to be the same.
2) When I set the selected item via the binding to SelectedTreeItem, in some cases it keeps other items selected as well. I've tired clearing the selected items collection but it seems to keep multiple items selected.
I have attached a sample solution similar to how I have the TreeViewAdv setup. Regarding 2) If you click one of the buttons twice and then a different button you can reproduce the issue, but it does happen in other scenarios as well.
Can you please help?
Thanks,
Hayley
Attachment:
WPF_TreeViewAdv_1c9f8982.zip