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
Try the UIElement.IsHitTestVisible property.