Compartir a través de


TextView.IsSingleLine Property

Definition

Returns if the text is constrained to a single horizontally scrolling line ignoring new line characters instead of letting it wrap onto multiple lines.

public virtual bool IsSingleLine { [Android.Runtime.Register("isSingleLine", "()Z", "GetIsSingleLineHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("isSingleLine", "()Z", "GetIsSingleLineHandler", ApiSince=29)>]
member this.IsSingleLine : bool

Property Value

Attributes

Remarks

Returns if the text is constrained to a single horizontally scrolling line ignoring new line characters instead of letting it wrap onto multiple lines.

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

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