Stylus.AddGotStylusCaptureHandler 方法

定义

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

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
StylusEventHandler

要添加的事件处理程序。

适用于