Mouse.AddPreviewMouseDownOutsideCapturedElementHandler 方法

定义

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)

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
MouseButtonEventHandler

事件处理程序。

适用于