TextView.MinHeight Property

Definition

Returns the minimum height of TextView in terms of pixels or -1 if the minimum height was set using #setMinLines(int) or #setLines(int).

public virtual int MinHeight { [Android.Runtime.Register("getMinHeight", "()I", "GetGetMinHeightHandler")] get; }
[<get: Android.Runtime.Register("getMinHeight", "()I", "GetGetMinHeightHandler")>]
member this.MinHeight : int

Property Value

the minimum height of TextView in terms of pixels or -1 if the minimum height is not defined in pixels

Attributes

Remarks

Returns the minimum height of TextView in terms of pixels or -1 if the minimum height was set using #setMinLines(int) or #setLines(int).

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

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

See also