Udostępnij za pośrednictwem


TextView.IsTextSelectable Property

Definition

Returns the state of the textIsSelectable flag (See #setTextIsSelectable setTextIsSelectable()).

public virtual bool IsTextSelectable { [Android.Runtime.Register("isTextSelectable", "()Z", "GetIsTextSelectableHandler")] get; }
[<get: Android.Runtime.Register("isTextSelectable", "()Z", "GetIsTextSelectableHandler")>]
member this.IsTextSelectable : bool

Property Value

True if the text displayed in this TextView can be selected by the user.

Attributes

Remarks

Returns the state of the textIsSelectable flag (See #setTextIsSelectable setTextIsSelectable()). Although you have to set this flag to allow users to select and copy text in a non-editable TextView, the content of an EditText can always be selected, independently of the value of this flag.

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

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