TextView.SetSelectAllOnFocus(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the TextView so that when it takes focus, all the text is selected.
[Android.Runtime.Register("setSelectAllOnFocus", "(Z)V", "GetSetSelectAllOnFocus_ZHandler")]
public virtual void SetSelectAllOnFocus (bool selectAllOnFocus);
[<Android.Runtime.Register("setSelectAllOnFocus", "(Z)V", "GetSetSelectAllOnFocus_ZHandler")>]
abstract member SetSelectAllOnFocus : bool -> unit
override this.SetSelectAllOnFocus : bool -> unit
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.