DynamicRenderer.OnStylusEnter(RawStylusInput, Boolean) Method

Definition

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

C#
protected override void OnStylusEnter(System.Windows.Input.StylusPlugIns.RawStylusInput rawStylusInput, bool confirmed);

Parameters

rawStylusInput
RawStylusInput

A RawStylusInput that contains information about input from the pen.

confirmed
Boolean

true if the pen actually entered 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 OnStylusEnter(RawStylusInput, Boolean) in a derived class, be sure to call the base class' OnStylusEnter(RawStylusInput, Boolean) method.

Applies to

Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10