共用方式為


KeyEvent.IsCtrlPressed Property

Definition

Returns the pressed state of the CTRL meta key.

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

Property Value

true if the CTRL key is pressed, false otherwise

Attributes

Remarks

Returns the pressed state of the CTRL meta key.

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

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