共用方式為


MotionEvent.ButtonSecondary Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.

Button constant: Secondary button (right mouse button).

[Android.Runtime.Register("BUTTON_SECONDARY")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.", true)]
public const Android.Views.MotionEventButtonState ButtonSecondary = 2;
[<Android.Runtime.Register("BUTTON_SECONDARY")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.MotionEventButtonState enum directly instead of this field.", true)>]
val mutable ButtonSecondary : Android.Views.MotionEventButtonState

Field Value

Value = 2

Implements

Attributes

Remarks

Button constant: Secondary button (right mouse button).

Java documentation for android.view.MotionEvent.BUTTON_SECONDARY.

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.

Applies to

See also