Bewerken

Delen via


Mouse.RemoveGotMouseCaptureHandler Method

Definition

Removes a handler for the GotMouseCapture attached event.

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

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
MouseEventHandler

The event handler.

Applies to