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 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。
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
- 繼承
- 屬性
欄位
Large | 3 | 字型大於 |
Normal | 1 | 預設字型大小。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
NotSet | 0 | 預設值。 如果值是 NotSet,則字型的大小會從控制項的樣式繼承;如果沒有定義樣式,則會從控制項的父控制項繼承。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Small | 2 | 字型小於 |
備註
列舉 FontSize 是 的 System.Web.UI.WebControls.FontSize子集,代表容器中的字型大小。 例如,如果您在控件內有List控件,且Panel控件的字型大小設定為 Normal,您可以指定控件的小型字型大小List。Panel
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應