Condividi tramite


Mouse.AddMouseEnterHandler(DependencyObject, MouseEventHandler) Metodo

Definizione

Aggiunge un gestore per l'evento associato 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)

Parametri

element
DependencyObject

Oggetto UIElement o ContentElement in ascolto su questo evento.

handler
MouseEventHandler

Gestore eventi.

Si applica a