ContentElement.IsStylusOver 屬性

定義

取得值,這個值表示手寫筆是否位於這個項目上方 (包括視覺化子項目)。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
設定為 true 的中繼資料屬性Metadata properties set to true NoneNone

適用於