Delen 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 for various input devices:

  • A touch pointer does not set this property.
  • 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. An eraser tip does not set this property (see IsEraser).
  • A mouse pointer when the right mouse button is pressed.

Applies to

See also