Aracılığıyla paylaş


Mouse.AddGotMouseCaptureHandler(DependencyObject, MouseEventHandler) Yöntem

Tanım

Ekli olay için GotMouseCapture bir işleyici ekler.

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)

Parametreler

element
DependencyObject

UIElement Bu olayı dinleyen veyaContentElement.

handler
MouseEventHandler

Olay işleyicisi.

Şunlara uygulanır