Compartir vía


Mouse.AddMouseEnterHandler(DependencyObject, MouseEventHandler) Método

Definición

Agrega un controlador para el evento adjunto MouseEnter.

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