共用方式為


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

要加入的事件處理常式。

適用於