TreeViewItem selection not removed when selecting another item #7914
Answered
by
gautambjain
gautambjain
asked this question in
Q&A
-
I was able to programmatically select an item using one of the below methods:
All of these work. But when selecting any other item using mouse does not remove the selection done through the above method. So, always, I have 2 items selected. The one selected programmatically. Another selected using mouse. Am I missing something or is it a bug? |
Beta Was this translation helpful? Give feedback.
Answered by
gautambjain
Nov 12, 2022
Replies: 1 comment
-
Answering my own question. It wasn't working in the "Drop" event handler. Not sure why. But it worked in RightTapped event. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gautambjain
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answering my own question. It wasn't working in the "Drop" event handler. Not sure why. But it worked in RightTapped event. Thanks.