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 &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
屬性

欄位

名稱 Description
NotSet 0

預設值。 若值為 NotSet,則字型大小繼承自控制項的樣式,若樣式未定義,則繼承自控制項的父控制項。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Normal 1

預設字體大小。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Small 2

字體比 Normal. 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Large 3

字體大於 Normal。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

備註

FontSize 舉是 的 System.Web.UI.WebControls.FontSize子集,代表容器中字型的大小。 例如,如果你在控制項中Panel有一個List控制項,且Panel該控制項的字型大小設為一般,你可以指定該控制項的字型大小List較小。

適用於

另請參閱