Megosztás a következőn keresztül:


TextView.MaxEms Property

Definition

Returns the maximum width of TextView in terms of ems or -1 if the maximum width was set using #setMaxWidth(int) or #setWidth(int).

public virtual int MaxEms { [Android.Runtime.Register("getMaxEms", "()I", "GetGetMaxEmsHandler")] get; }
[<get: Android.Runtime.Register("getMaxEms", "()I", "GetGetMaxEmsHandler")>]
member this.MaxEms : int

Property Value

the maximum width of TextView in terms of ems or -1 if the maximum width is not defined in ems

Attributes

Remarks

Returns the maximum width of TextView in terms of ems or -1 if the maximum width was set using #setMaxWidth(int) or #setWidth(int).

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

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