Compartir a través de


Mouse.AddMouseLeaveHandler(DependencyObject, MouseEventHandler) Método

Definición

Agrega un controlador para el evento adjunto MouseLeave.

public:
 static void AddMouseLeaveHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::MouseEventHandler ^ handler);
public static void AddMouseLeaveHandler (System.Windows.DependencyObject element, System.Windows.Input.MouseEventHandler handler);
static member AddMouseLeaveHandler : System.Windows.DependencyObject * System.Windows.Input.MouseEventHandler -> unit
Public Shared Sub AddMouseLeaveHandler (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