共用方式為


Stylus.AddGotStylusCaptureHandler 方法

定義

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

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

參數

element
DependencyObject

接聽這個事件的 UIElementContentElement

handler
StylusEventHandler

要加入的事件處理常式。

適用於