共用方式為


KeyEvent.IsCapsLockOn Property

Definition

Returns the locked state of the CAPS LOCK meta key.

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

Property Value

true if the CAPS LOCK key is on, false otherwise

Attributes

Remarks

Returns the locked state of the CAPS LOCK meta key.

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

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