TextView.MaxEms 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果使用 或 #setMaxWidth(int)設定最大寬度,則傳回 Ems 或 -1 的 TextView 寬度#setWidth(int)上限。
public virtual int MaxEms { [Android.Runtime.Register("getMaxEms", "()I", "GetGetMaxEmsHandler")] get; }
[<get: Android.Runtime.Register("getMaxEms", "()I", "GetGetMaxEmsHandler")>]
member this.MaxEms : int
屬性值
如果最大寬度未以 EMS 定義,則以 EMS 或 -1 表示 TextView 的最大寬度
- 屬性
備註
如果使用 或 #setMaxWidth(int)設定最大寬度,則傳回 Ems 或 -1 的 TextView 寬度#setWidth(int)上限。
Java 文件 android.widget.TextView.getMaxEms()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。