共用方式為


Stylus.AddPreviewStylusUpHandler(DependencyObject, StylusEventHandler) 方法

定義

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

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

參數

element
DependencyObject

接聽這個事件的 UIElementContentElement

handler
StylusEventHandler

要加入的事件處理常式。

適用於