UIElement.IsStylusOver 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,指出手寫筆游標是否位在這個項目上方 (包括視覺子項目)。 這是相依性屬性。
public:
property bool IsStylusOver { bool get(); };
C#
public bool IsStylusOver { get; }
member this.IsStylusOver : bool
Public ReadOnly Property IsStylusOver As Boolean
如果手寫筆游標位在項目或其子項目上方,則為 true
;否則為 false
。 預設為 false
。
如果這個專案有手寫筆擷取,則這個屬性會繼續傳回, true
直到手寫筆擷取遺失且指標超出其界限為止。
觸控、滑鼠和手寫筆輸入存在於特定關聯性中。 如需詳細資訊,請參閱 輸入概觀。
識別碼欄位 | IsStylusOverProperty |
中繼資料屬性設定為 true |
無 |
產品 | 版本 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |