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

要添加的事件处理程序。

适用于