Condividi tramite


Mouse.AddPreviewMouseDownOutsideCapturedElementHandler Metodo

Definizione

Aggiunge un gestore per l'evento associato PreviewMouseDownOutsideCapturedElement.

public:
 static void AddPreviewMouseDownOutsideCapturedElementHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::MouseButtonEventHandler ^ handler);
public static void AddPreviewMouseDownOutsideCapturedElementHandler (System.Windows.DependencyObject element, System.Windows.Input.MouseButtonEventHandler handler);
static member AddPreviewMouseDownOutsideCapturedElementHandler : System.Windows.DependencyObject * System.Windows.Input.MouseButtonEventHandler -> unit
Public Shared Sub AddPreviewMouseDownOutsideCapturedElementHandler (element As DependencyObject, handler As MouseButtonEventHandler)

Parametri

element
DependencyObject

Oggetto UIElement o ContentElement in ascolto su questo evento.

handler
MouseButtonEventHandler

Gestore eventi.

Si applica a