MotionEventButtonState Enum
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.
Enumerates values returned by several types and taken as a parameter of the F:Android.Views.MotionEvent.IsButtonPressed, and F:Android.Views.MotionEvent.Obtain members.
public enum MotionEventButtonState
type MotionEventButtonState =
- Inheritance
-
MotionEventButtonState
Fields
Name | Value | Description |
---|---|---|
Primary | 1 | Button constant: Primary button (left mouse button). This button constant is not set in response to simple touches with a finger or stylus tip. |
Secondary | 2 | Button constant: Secondary button (right mouse button, stylus first button). |
Tertiary | 4 | Button constant: Tertiary button (middle mouse button, stylus second button). |
Back | 8 | Button constant: Back button pressed (mouse back button). |
Forward | 16 | Button constant: Forward button pressed (mouse forward button). |
StylusPrimary | 32 | |
StylusSecondary | 64 |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.