Is there a way to make controls transparent to mouse events in WPF?

后端 未结 2 1655
悲&欢浪女
悲&欢浪女 2021-02-04 23:30

Is there a way that I can let mouse events pass through to controls behind?

2条回答
  •  再見小時候
    2021-02-05 00:15

    Sure, just set IsHitTestVisible="False" on the control. Mouse events will pass through it.

提交回复
热议问题