c# - How do I get the element that the cursor is over during a keypress? -
this question has answer here:
- wpf element(s) under mouse 3 answers
i'm writing wpf application, , i've come point need ui element mouse cursor on @ time of keypress. basically, have lists on screen, , if user enters ctrl+shift+f, able filter objects in list mouse over. i've done research on this, , related questions i've found have moving cursor element on keypress, not finding element cursor over. don't have code show since more of conceptual question, if need more detail me, please let me know. thanks!
var elementundermouse = mouse.directlyover frameworkelement;
Comments
Post a Comment