Partilhar via


Mouse.AddMouseMoveHandler(DependencyObject, MouseEventHandler) Método

Definição

Adiciona um manipulador ao evento anexado 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

O UIElement ou ContentElement que escuta esse evento.

handler
MouseEventHandler

O manipulador de eventos.

Aplica-se a