Mouse.RemovePreviewMouseDownOutsideCapturedElementHandler Method

Definition

Removes a handler for the PreviewMouseDownOutsideCapturedElement attached event.

public:
 static void RemovePreviewMouseDownOutsideCapturedElementHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::MouseButtonEventHandler ^ handler);
public static void RemovePreviewMouseDownOutsideCapturedElementHandler (System.Windows.DependencyObject element, System.Windows.Input.MouseButtonEventHandler handler);
static member RemovePreviewMouseDownOutsideCapturedElementHandler : System.Windows.DependencyObject * System.Windows.Input.MouseButtonEventHandler -> unit
Public Shared Sub RemovePreviewMouseDownOutsideCapturedElementHandler (element As DependencyObject, handler As MouseButtonEventHandler)

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
MouseButtonEventHandler

The event handler.

Applies to