Stylus.AddPreviewStylusDownHandler 方法

定义

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

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
StylusDownEventHandler

要添加的事件处理程序。

适用于