Edit

Share via


Stylus.AddPreviewStylusDownHandler Method

Definition

Adds a handler for the PreviewStylusDown attached event.

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

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
StylusDownEventHandler

The event handler to add.

Applies to