This question is locked. New answers and comments are not allowed.
I have a project that uses a treeview. When the user selects an item, the treeview is hidden and a document is displayed. When the user closes the document and returns to the treeview, the item is still selected. As the user keeps selecting documents, all of the old selections are still highlighted with the collection growing each time the user returns to the treeview. I have attached a screenshot of what it looks like after the user has gone through this multiple times.
The treeview is set to Single SelectionMode and the SelectedItem and SelectedItems are set to null when the treeview is made visible. However, multiple selections still exist.
If you hover the mouse over the old selections and then move it, the items will return to normal. Can you please help me with this? I'm not sure how to fix it.
The treeview is set to Single SelectionMode and the SelectedItem and SelectedItems are set to null when the treeview is made visible. However, multiple selections still exist.
If you hover the mouse over the old selections and then move it, the items will return to normal. Can you please help me with this? I'm not sure how to fix it.