开发者

WPF event routing

开发者 https://www.devze.com 2022-12-17 09:03 出处:网络
I have a grid control which has two child elements (both are canvas), and firs开发者_开发知识库t canvas overlays the second one. How can I handle mouse down event on background canvas?Without any more

I have a grid control which has two child elements (both are canvas), and firs开发者_开发知识库t canvas overlays the second one. How can I handle mouse down event on background canvas?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号