PointerPointProperties.IsLeftButtonPressed 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,這個值表示指標輸入是否由輸入裝置的主要動作模式觸發。
public:
property bool IsLeftButtonPressed { bool get(); };
bool IsLeftButtonPressed();
public bool IsLeftButtonPressed { get; }
var boolean = pointerPointProperties.isLeftButtonPressed;
Public ReadOnly Property IsLeftButtonPressed As Boolean
屬性值
Boolean
bool
如果主要動作模式為 True。 否則為 false。
備註
各種輸入裝置的主要動作模式範例:
- 接觸數位板表面時的觸控指標。
- 當手寫筆筆尖與數位板介面接觸,而且沒有修改按鈕時,筆指標 (請參閱 IsBarrelButtonPressed) 。 橡皮擦提示不會設定此屬性, (請參閱 IsEraser) 。
- 按下滑鼠左鍵時,滑鼠指標。