Karen
Karen

Reputation: 1

WPF event routing

I have a grid control which has two child elements (both are canvas), and first canvas overlays the second one. How can I handle mouse down event on background canvas?

Upvotes: 0

Views: 218

Answers (1)

user1228
user1228

Reputation:

Without any more info on your requirements, I'd set IsHitTestVisible to false on the top canvas.

Upvotes: 4

Related Questions