logeeks
logeeks

Reputation: 4979

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

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

Upvotes: 3

Views: 4076

Answers (1)

Matt Bridges
Matt Bridges

Reputation: 49435

Try the UIElement.IsHitTestVisible property.

Upvotes: 7

Related Questions