Stylus.AddPreviewStylusMoveHandler 方法

定义

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

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
StylusEventHandler

要添加的事件处理程序。

适用于