共用方式為


Stylus.AddLostStylusCaptureHandler 方法

定義

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

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

參數

element
DependencyObject

接聽這個事件的 UIElementContentElement

handler
StylusEventHandler

要加入的事件處理常式。

適用於