BooleanOption 列舉

定義

警告

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 BooleanOption
public enum BooleanOption
[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 BooleanOption
type BooleanOption = 
[<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 BooleanOption = 
Public Enum BooleanOption
繼承
BooleanOption
屬性

欄位

False 0

不會套用指定的樣式。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

NotSet -1

預設值。 若值為 NotSet,則會從控制項的樣式繼承字型屬性,若未定義樣式,則從控制項的父控制項繼承。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

True 1

將套用指定的樣式。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

備註

列舉 BooleanOption 表示樣式的狀態。 在 ASP.NET 中, Font-BoldFont-Italic 屬性會採用 BooleanOption 列舉。

適用於

另請參閱