i have a main control in wpf.
and many controls placed in main control.
when mouse moves over main control i want to find
over which control in main control mouse is placed.
i have a main control in wpf. and many controls placed in main control.
Share
Sounds like you want
UIElement.InputHitTest. It takes in a 2DPoint(relative to the UIElement’s location) and returns anIInputElementwhichUIElementimplements. So for example…