Bagikan melalui


Mouse.AddPreviewMouseMoveHandler(DependencyObject, MouseEventHandler) Metode

Definisi

Menambahkan handler untuk kejadian terlampir PreviewMouseMove .

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

Parameter

element
DependencyObject

UIElement atau ContentElement yang mendengarkan peristiwa ini.

handler
MouseEventHandler

Penanganan aktivitas.

Berlaku untuk