Partager via


Mouse.AddPreviewMouseMoveHandler(DependencyObject, MouseEventHandler) Méthode

Définition

Ajoute un gestionnaire pour l'événement attaché 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)

Paramètres

element
DependencyObject

UIElement ou ContentElement qui écoute cet événement.

handler
MouseEventHandler

Gestionnaire d'événements.

S’applique à