UIElement.IsStylusOver 屬性

定義

取得值,指出手寫筆游標是否位在這個項目上方 (包括視覺子項目)。 這是相依性屬性。

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

屬性值

如果手寫筆游標位在項目或其子項目上方,則為 true;否則為 false。 預設為 false

實作

備註

如果這個專案有手寫筆擷取,則這個屬性會繼續傳回, true 直到手寫筆擷取遺失且指標超出其界限為止。

觸控、滑鼠和手寫筆輸入存在於特定關聯性中。 如需詳細資訊,請參閱 輸入概觀

相依性屬性資訊

識別碼欄位 IsStylusOverProperty
中繼資料屬性設定為 true

適用於