Share via


PointerPointProperties.IsXButton2Pressed Property

Definition

Gets a value that indicates whether the pointer input was triggered by the second extended mouse button (XButton2).

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

Property Value

Boolean

bool

True if the second extended mouse button is pressed; otherwise false.

Remarks

XButton2 is an additional button used on many mouse devices. It returns the same data as standard mouse buttons.

A touch pointer does not set this property.

A pen pointer does not set this property.

Applies to

See also