Condividi tramite


Mouse.AddGotMouseCaptureHandler(DependencyObject, MouseEventHandler) Metodo

Definizione

Aggiunge un gestore per l'evento associato GotMouseCapture.

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