PointerPointProperties.IsLeftButtonPressed PointerPointProperties.IsLeftButtonPressed PointerPointProperties.IsLeftButtonPressed PointerPointProperties.IsLeftButtonPressed PointerPointProperties.IsLeftButtonPressed Property

Definition

Gets a value that indicates whether the pointer input was triggered by the primary action mode of an input device.

public : Platform::Boolean IsLeftButtonPressed { get; }
bool IsLeftButtonPressed();
public bool IsLeftButtonPressed { get; }
Public ReadOnly Property IsLeftButtonPressed As bool
var bool = pointerPointProperties.isLeftButtonPressed;

Property Value

bool bool bool

True if the primary action mode; otherwise false.

Remarks

Examples of primary action modes for various input devices:

  • A touch pointer when it is in contact with the digitizer surface.
  • A pen pointer when the pen tip is in contact with the digitizer surface and no modifying buttons, such as a barrel button (see IsBarrelButtonPressed ), are pressed. An eraser tip does not set this property either (see IsEraser ).
  • A mouse pointer when the left mouse button is pressed.

See also