Edit

Share via


Stylus.RemovePreviewStylusDownHandler Method

Definition

Removes a handler for the PreviewStylusDown attached event.

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

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
StylusDownEventHandler

The event handler to remove.

Applies to