Share via


PointerPointProperties.IsXButton2Pressed 屬性

定義

取得值,這個值表示指標輸入是否由第二個擴充滑鼠按鍵觸發, (XButton2) 。

public:
 property bool IsXButton2Pressed { bool get(); };
bool IsXButton2Pressed();
public bool IsXButton2Pressed { get; }
var boolean = pointerPointProperties.isXButton2Pressed;
Public ReadOnly Property IsXButton2Pressed As Boolean

屬性值

Boolean

bool

如果按下第二個擴充滑鼠按鍵,則為 True;否則為 false。

備註

XButton2 是許多滑鼠裝置上使用的額外按鈕。 它會傳回與標準滑鼠按鍵相同的資料。

觸控指標不會設定這個屬性。

畫筆指標不會設定這個屬性。

適用於

另請參閱