共用方式為


Stylus.AddStylusInRangeHandler(DependencyObject, StylusEventHandler) 方法

定義

加入 StylusInRange 附加事件的處理常式。

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

參數

element
DependencyObject

接聽這個事件的 UIElementContentElement

handler
StylusEventHandler

要加入的事件處理常式。

適用於