共用方式為


Mouse.AddPreviewMouseUpOutsideCapturedElementHandler 方法

定義

加入 PreviewMouseUpOutsideCapturedElement 附加事件的處理常式。

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

參數

element
DependencyObject

接聽這個事件的 UIElementContentElement

handler
MouseButtonEventHandler

事件處理常式。

適用於