Sdílet prostřednictvím


Mouse.AddPreviewMouseMoveHandler(DependencyObject, MouseEventHandler) Metoda

Definice

Přidá obslužnou rutinu pro připojenou PreviewMouseMove událost.

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)

Parametry

element
DependencyObject

ContentElement NeboUIElement, který naslouchá této události.

handler
MouseEventHandler

Obslužná rutina události.

Platí pro