PointerPointProperties.IsRightButtonPressed PointerPointProperties.IsRightButtonPressed PointerPointProperties.IsRightButtonPressed PointerPointProperties.IsRightButtonPressed 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 : Platform::Boolean IsRightButtonPressed { get; }
bool IsRightButtonPressed();
public bool IsRightButtonPressed { get; }
Public ReadOnly Property IsRightButtonPressed As bool
var bool = pointerPointProperties.isRightButtonPressed;

Property Value

bool bool 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.

See also