DynamicRenderer.OnStylusEnter(RawStylusInput, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs on a pen thread when the cursor enters the bounds of an element.
protected:
override void OnStylusEnter(System::Windows::Input::StylusPlugIns::RawStylusInput ^ rawStylusInput, bool confirmed);
protected override void OnStylusEnter (System.Windows.Input.StylusPlugIns.RawStylusInput rawStylusInput, bool confirmed);
override this.OnStylusEnter : System.Windows.Input.StylusPlugIns.RawStylusInput * bool -> unit
Protected Overrides 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.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應