I need to determine whether the mouse cursor is over a given UIElement
. The method should work even if another element is placed on top of it (because it has a bigger Zindex).
I tried using MouseEnter/Leave events but mouseenter does not trigger if the element is not the top most element.
Any ideas?