Mouse.RemoveMouseDownHandler(DependencyObject, MouseButtonEventHandler) Methode

Definition

Entfernt einen Handler für das angefügte MouseDown -Ereignis.Removes a handler for the MouseDown attached event.

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

Parameter

element
DependencyObject

Das UIElement oder das ContentElement, das dieses Ereignis überwacht.The UIElement or ContentElement that listens to this event.

handler
MouseButtonEventHandler

Der Ereignishandler.The event handler.

Gilt für: