Compartilhar via


KeyboardView.Keyboard Property

Definition

Returns the current keyboard being displayed by this view. -or- Attaches a keyboard to this view.

public virtual Android.InputMethodServices.Keyboard? Keyboard { [Android.Runtime.Register("getKeyboard", "()Landroid/inputmethodservice/Keyboard;", "GetGetKeyboardHandler")] get; [Android.Runtime.Register("setKeyboard", "(Landroid/inputmethodservice/Keyboard;)V", "GetSetKeyboard_Landroid_inputmethodservice_Keyboard_Handler")] set; }
[<get: Android.Runtime.Register("getKeyboard", "()Landroid/inputmethodservice/Keyboard;", "GetGetKeyboardHandler")>]
[<set: Android.Runtime.Register("setKeyboard", "(Landroid/inputmethodservice/Keyboard;)V", "GetSetKeyboard_Landroid_inputmethodservice_Keyboard_Handler")>]
member this.Keyboard : Android.InputMethodServices.Keyboard with get, set

Property Value

the currently attached keyboard

Attributes

Remarks

Property getter documentation:

Returns the current keyboard being displayed by this view.

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

Property setter documentation:

Attaches a keyboard to this view. The keyboard can be switched at any time and the view will re-layout itself to accommodate the keyboard.

Java documentation for android.inputmethodservice.KeyboardView.setKeyboard(android.inputmethodservice.Keyboard).

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