Layout.Builder.SetMaxLines(Int32) 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 maximum number of lines.
[Android.Runtime.Register("setMaxLines", "(I)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetMaxLines(int maxLines);
[<Android.Runtime.Register("setMaxLines", "(I)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetMaxLines : int -> Android.Text.Layout.Builder
Parameters
- maxLines
- Int32
maximum number of lines in the layout. Value is 1 or greater
Returns
this builder instance. This value cannot be null.
- Attributes
Remarks
Set the maximum number of lines. The default value is unlimited.
Android reference for android.text.Layout.Builder.setMaxLines.
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.