Partager via


Layout.MaxLines Property

Definition

Return the maximum lines allowed used for creating this layout.

public int MaxLines { [Android.Runtime.Register("getMaxLines", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getMaxLines", "()I", "", ApiSince=35)>]
member this.MaxLines : int

Property Value

the maximum lines allowed used for creating this layout.

Attributes

Remarks

Return the maximum lines allowed used for creating this layout.

Note that this is not an actual line count of this layout. Use #getLineCount() for getting the actual line count of this layout.

Java documentation for android.text.Layout.getMaxLines().

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