Edit

Share via


Stylus.RemoveStylusLeaveHandler(DependencyObject, StylusEventHandler) Method

Definition

Removes a handler for the StylusLeave attached event.

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

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
StylusEventHandler

The event handler to remove.

Applies to