UIElement.IsStylusOver UIElement.IsStylusOver UIElement.IsStylusOver UIElement.IsStylusOver Property

定義

取得值,指出手寫筆游標是否位在這個項目上方 (包括視覺子項目)。Gets a value indicating whether the stylus cursor is located over this element (including visual child elements). 這是相依性屬性。This is a dependency property.

public:
 property bool IsStylusOver { bool get(); };
public bool IsStylusOver { get; }
member this.IsStylusOver : bool
Public ReadOnly Property IsStylusOver As Boolean

屬性值

如果手寫筆游標位在項目或其子項目上方,則為 true;否則為 falsetrue if stylus cursor is over the element or its child elements; otherwise, false. 預設為 falseThe default is false.

實作

備註

如果這個專案具有手寫筆捕捉, 此屬性會繼續true傳回, 直到手寫筆捕捉遺失且指標超出其界限為止。If this element has stylus capture, this property will continue to return true until stylus capture is lost and the pointer is out of its bounds.

觸控、滑鼠和手寫筆輸入存在於特定的關聯性中。Touch, mouse, and stylus input exist in a particular relationship. 如需詳細資訊, 請參閱輸入總覽For more information, see Input Overview.

相依性屬性資訊Dependency Property Information

識別碼欄位Identifier field IsStylusOverProperty
中繼資料屬性設定為trueMetadata properties set to true None

適用於