共用方式為


Stylus.AddStylusDownHandler(DependencyObject, StylusDownEventHandler) 方法

定義

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

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

參數

element
DependencyObject

接聽這個事件的 UIElementContentElement

handler
StylusDownEventHandler

要加入的事件處理常式。

適用於