
However, if you want to make it fit for your program totally, please add other operations into this logic as you like:ġ. Please refer to the following two steps for implementing this new approach. So ItemSelectionChanged and ItemActivate events are not so fit for new approach. To be accurate speaking, we will make decision whether to move focus to new item or not before the selection actually changed. You can create an empty project to check the effect of this code first before actually using it.Īfter a long time of exhausting research and communicating with my colleagues, I finally found that handling mouse and keyboard event before selection changed is a better idea.

I believe that I've probably come to the final solution now, and I’d like to share my code with you.
