Bewerken

Share via


Stylus.AddGotStylusCaptureHandler Method

Definition

Adds a handler for the GotStylusCapture attached event.

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)

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
StylusEventHandler

The event handler to add.

Applies to