Dela via


KeyboardView.IsShifted Property

Definition

Returns the state of the shift key of the keyboard, if any.

public virtual bool IsShifted { [Android.Runtime.Register("isShifted", "()Z", "GetIsShiftedHandler")] get; }
[<get: Android.Runtime.Register("isShifted", "()Z", "GetIsShiftedHandler")>]
member this.IsShifted : bool

Property Value

true if the shift is in a pressed state, false otherwise. If there is no shift key on the keyboard or there is no keyboard attached, it returns false.

Attributes

Remarks

Returns the state of the shift key of the keyboard, if any.

Java documentation for android.inputmethodservice.KeyboardView.isShifted().

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