FontSize 列舉

定義

警告

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
繼承
FontSize
屬性

欄位

Large 3

字型大於 Normal。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

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

字型小於 Normal。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

備註

列舉 FontSize 是 的 System.Web.UI.WebControls.FontSize子集,代表容器中的字型大小。 例如,如果您在控件內有List控件,且Panel控件的字型大小設定為 Normal,您可以指定控件的小型字型大小ListPanel

適用於

另請參閱