Partilhar via


Mouse.AddGotMouseCaptureHandler(DependencyObject, MouseEventHandler) Método

Definição

Adiciona um manipulador ao evento anexado 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)

Parâmetros

element
DependencyObject

O UIElement ou ContentElement que escuta esse evento.

handler
MouseEventHandler

O manipulador de eventos.

Aplica-se a