Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.23 KB

pointerpointproperties_isleftbuttonpressed.md

File metadata and controls

28 lines (20 loc) · 1.23 KB
-api-id -api-type
P:Windows.UI.Input.PointerPointProperties.IsLeftButtonPressed
winrt property

Windows.UI.Input.PointerPointProperties.IsLeftButtonPressed

-description

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

-property-value

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.

-examples

-see-also

IsRightButtonPressed, IsMiddleButtonPressed, IsXButton1Pressed, IsXButton2Pressed