DynamicRenderer.OnStylusLeave(RawStylusInput, Boolean) Method

Definition

Occurs on a pen thread when the cursor leaves the bounds of an element.

protected:
 override void OnStylusLeave(System::Windows::Input::StylusPlugIns::RawStylusInput ^ rawStylusInput, bool confirmed);
protected override void OnStylusLeave (System.Windows.Input.StylusPlugIns.RawStylusInput rawStylusInput, bool confirmed);
override this.OnStylusLeave : System.Windows.Input.StylusPlugIns.RawStylusInput * bool -> unit
Protected Overrides Sub OnStylusLeave (rawStylusInput As RawStylusInput, confirmed As Boolean)

Parameters

rawStylusInput
RawStylusInput

A RawStylusInput that contains information about input from the pen.

confirmed
Boolean

true if the pen actually left the bounds of the element; otherwise, false.

Remarks

This method occurs on a pen thread, so minimize work in this method to avoid impacting performance.

Notes to Inheritors

When overriding OnStylusLeave(RawStylusInput, Boolean) in a derived class, be sure to call the base class' OnStylusLeave(RawStylusInput, Boolean) method.

Applies to