Stylus.AddStylusButtonDownHandler 方法

定义

StylusButtonDown 附加事件添加处理程序。

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
StylusButtonEventHandler

要添加的事件处理程序。

适用于