Freigeben über


TextView.HasSelection Property

Definition

Return true iff there is a selection of nonzero length inside this text view.

public virtual bool HasSelection { [Android.Runtime.Register("hasSelection", "()Z", "GetHasSelectionHandler")] get; }
[<get: Android.Runtime.Register("hasSelection", "()Z", "GetHasSelectionHandler")>]
member this.HasSelection : bool

Property Value

Attributes

Remarks

Return true iff there is a selection of nonzero length inside this text view.

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

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