Sdílet prostřednictvím


Mouse.AddPreviewMouseDownOutsideCapturedElementHandler Metoda

Definice

Přidá obslužnou rutinu pro připojenou PreviewMouseDownOutsideCapturedElement událost.

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)

Parametry

element
DependencyObject

Nebo UIElementContentElement , který naslouchá této události.

handler
MouseButtonEventHandler

Obslužná rutina události.

Platí pro