Bewerken

Delen via


Stylus.AddPreviewStylusInRangeHandler Method

Definition

Adds a handler for the PreviewStylusInRange attached event.

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