public static void CaptureMouse (UIElements.IEventHandler handler);

Parameters

handlerThe event handler that captures mouse events.

Description

Assigns an event handler to capture mouse events.

If an event handler is already set to capture mouse events, the event handler is replaced with the handler specified by this method.