VisualTreeHelper.HitTest alternative in WinUI #7883
Answered
by
castorix
gautambjain
asked this question in
Q&A
-
In WPF we have VisualTreeHelper.HitTest which is used to detect the mouse hover item in different views (list view, tree view). What is the alternative method in WinUI? Please help. How to detect the exact item (tree view, list view) under the mouse pointer (mainly used when dragging and dropping)? |
Beta Was this translation helpful? Give feedback.
Answered by
castorix
Nov 4, 2022
Replies: 1 comment 3 replies
-
Like in your other question, VisualTreeHelper.FindElementsInHostCoordinates can be used like :
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
gautambjain
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Like in your other question, VisualTreeHelper.FindElementsInHostCoordinates can be used
like :