Condividi tramite


Mouse.AddMouseLeaveHandler(DependencyObject, MouseEventHandler) Metodo

Definizione

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

Parametri

element
DependencyObject

Oggetto UIElement o ContentElement in ascolto su questo evento.

handler
MouseEventHandler

Gestore eventi.

Si applica a