Compartir a través de


Mouse.AddMouseMoveHandler(DependencyObject, MouseEventHandler) Método

Definición

Agrega un controlador para el evento adjunto MouseMove.

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

Parámetros

element
DependencyObject

Objeto UIElement o ContentElement que escucha este evento.

handler
MouseEventHandler

Controlador de eventos.

Se aplica a