Reputation: 1886
I have a Window
with two Image
elements: Back and Front. Obviously, Front has higher Z-index then Back. I also have TouchMove
handler on Back. But the event is not triggering when Back is overlapped with Front in the touch point. So, how do I make touch to ignore Front?
Upvotes: 1
Views: 785
Reputation: 7189
If you want touch or click events to fall through to an underlying control, set IsHitTestVisible to false on the Front Image.
Here's more information on how hit testing works on UIElements.
Upvotes: 2