共用方式為


KeyEvent.IsAltPressed Property

Definition

Returns the pressed state of the ALT meta key.

public bool IsAltPressed { [Android.Runtime.Register("isAltPressed", "()Z", "")] get; }
[<get: Android.Runtime.Register("isAltPressed", "()Z", "")>]
member this.IsAltPressed : bool

Property Value

true if the ALT key is pressed, false otherwise

Attributes

Remarks

Returns the pressed state of the ALT meta key.

Java documentation for android.view.KeyEvent.isAltPressed().

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