แก้ไข

แชร์ผ่าน


StylusPlugIn.OnStylusEnter(RawStylusInput, Boolean) Method

Definition

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

protected:
 virtual void OnStylusEnter(System::Windows::Input::StylusPlugIns::RawStylusInput ^ rawStylusInput, bool confirmed);
protected virtual void OnStylusEnter (System.Windows.Input.StylusPlugIns.RawStylusInput rawStylusInput, bool confirmed);
abstract member OnStylusEnter : System.Windows.Input.StylusPlugIns.RawStylusInput * bool -> unit
override this.OnStylusEnter : System.Windows.Input.StylusPlugIns.RawStylusInput * bool -> unit
Protected Overridable Sub OnStylusEnter (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 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.

Applies to