ContentElement.IsStylusOver ContentElement.IsStylusOver ContentElement.IsStylusOver ContentElement.IsStylusOver Property

定義

取得值,這個值表示手寫筆是否位於這個項目上方 (包括視覺化子項目)。Gets a value that indicates whether the stylus is located over this element (including visual child elements).

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

屬性值

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

實作

備註

如果這個項目具有手寫筆擷取,這個屬性會保持true直到遺失手寫筆捕捉並指標超出其範圍。If this element has stylus capture, this property remains 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

適用於