FontSize 列舉
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.
指定所呈現文字的大小。 此類別無法獲得繼承。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。
public enum class FontSize
public enum FontSize
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public enum FontSize
type FontSize =
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type FontSize =
Public Enum FontSize
- 繼承
- 屬性
名稱 | 值 | Description |
---|---|---|
Large | 3 | 字型大於 |
Normal | 1 | 預設字型大小。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
NotSet | 0 | 預設值。 如果值是 NotSet,則字型的大小會從控制項的樣式繼承;如果沒有定義樣式,則會從控制項的父控制項繼承。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
Small | 2 | 字型小於 |
列舉 FontSize 是 的 System.Web.UI.WebControls.FontSize子集,代表容器中的字型大小。 例如,如果您在控件內有控件List,且Panel控件的字型大小設定為 Normal,您可以指定控件的小型字型大小List。Panel
產品 | 版本 (已過時) |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |