TextView.SetSelectAllOnFocus(Boolean) Method

Definition

Set the TextView so that when it takes focus, all the text is selected.

C#
[Android.Runtime.Register("setSelectAllOnFocus", "(Z)V", "GetSetSelectAllOnFocus_ZHandler")]
public virtual void SetSelectAllOnFocus (bool selectAllOnFocus);

Parameters

selectAllOnFocus
Boolean
Attributes

Remarks

Set the TextView so that when it takes focus, all the text is selected.

Java documentation for android.widget.TextView.setSelectAllOnFocus(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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35