Stylus.AddStylusEnterHandler(DependencyObject, StylusEventHandler) 方法

定义

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

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
StylusEventHandler

要添加的事件处理程序。

适用于