Bewerken

Share via


Stylus.AddStylusDownHandler(DependencyObject, StylusDownEventHandler) Method

Definition

Adds a handler for the StylusDown attached event.

public:
 static void AddStylusDownHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::StylusDownEventHandler ^ handler);
public static void AddStylusDownHandler (System.Windows.DependencyObject element, System.Windows.Input.StylusDownEventHandler handler);
static member AddStylusDownHandler : System.Windows.DependencyObject * System.Windows.Input.StylusDownEventHandler -> unit
Public Shared Sub AddStylusDownHandler (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