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

適用於