disabling mouse events on a wpf window and the user controls placed on it

后端 未结 1 1327
北海茫月
北海茫月 2021-01-15 05:31

I have a wpf window with many user controls on it. which event/function should i use to restrict the mouse input on the main window and the user controls it is hosting

相关标签:
1条回答
  • 2021-01-15 06:17

    Try the UIElement.IsHitTestVisible property.

    0 讨论(0)
提交回复
热议问题