Partager via


TextView.ShowSoftInputOnFocus Property

Definition

Returns whether the soft input method will be made visible when this TextView gets focused. -or- Sets whether the soft input method will be made visible when this TextView gets focused.

public bool ShowSoftInputOnFocus { [Android.Runtime.Register("getShowSoftInputOnFocus", "()Z", "")] get; [Android.Runtime.Register("setShowSoftInputOnFocus", "(Z)V", "")] set; }
[<get: Android.Runtime.Register("getShowSoftInputOnFocus", "()Z", "")>]
[<set: Android.Runtime.Register("setShowSoftInputOnFocus", "(Z)V", "")>]
member this.ShowSoftInputOnFocus : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns whether the soft input method will be made visible when this TextView gets focused. The default is true.

Java documentation for android.widget.TextView.getShowSoftInputOnFocus().

Property setter documentation:

Sets whether the soft input method will be made visible when this TextView gets focused. The default is true.

Java documentation for android.widget.TextView.setShowSoftInputOnFocus(boolean).

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