Redigera

Dela via


Mouse.RemovePreviewMouseMoveHandler Method

Definition

Removes a handler for the PreviewMouseMove attached event.

public:
 static void RemovePreviewMouseMoveHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::MouseEventHandler ^ handler);
public static void RemovePreviewMouseMoveHandler (System.Windows.DependencyObject element, System.Windows.Input.MouseEventHandler handler);
static member RemovePreviewMouseMoveHandler : System.Windows.DependencyObject * System.Windows.Input.MouseEventHandler -> unit
Public Shared Sub RemovePreviewMouseMoveHandler (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