PointerPointProperties.IsRightButtonPressed Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for