Redigera

Dela via


Mouse.RemoveMouseDownHandler Method

Definition

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)

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
MouseButtonEventHandler

The event handler.

Applies to