Share via


PointerPointProperties.IsRightButtonPressed Property

Definition

Gets a value that indicates whether the pointer input was triggered by the secondary action mode (if supported) of an input device.

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

Property Value

Boolean

bool

True if the secondary action mode. Otherwise, false.

Remarks

Examples of secondary action modes when this property is set:

  • A pen pointer when the pen tip is in contact with the digitizer surface and a modifying button, such as a barrel button (see IsBarrelButtonPressed), is pressed.
  • A mouse pointer when the right mouse button is pressed.

A touch pointer does not set this property.

The eraser tip on a pen does not set this property (see IsEraser).

Applies to

See also