BooleanOption 列舉

定義

警告

此 API 現已淘汰。

指定樣式選項。Specifies a style option. 這個類別無法被繼承。This class cannot be inherited. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 https://go.microsoft.com/fwlink/?LinkId=157231.")]
public enum BooleanOption
type BooleanOption = 
Public Enum BooleanOption
繼承
BooleanOption
屬性

欄位

False 0

不會套用指定的樣式。The specified style will not be applied. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

NotSet -1

預設值。Default value. 若值為 NotSet,則會從控制項的樣式繼承字型屬性,若未定義樣式,則從控制項的父控制項繼承。If the value is NotSet, then the font attributes are inherited from the control's style, or, if the style is not defined, from the control's parent control. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

True 1

將套用指定的樣式。The specified style will be applied. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

備註

BooleanOption 列舉表示樣式的狀態。The BooleanOption enumeration represents the state of a style. 在 ASP.NET 中,Font-BoldFont-Italic 屬性會接受 BooleanOption 列舉。In ASP.NET, the Font-Bold or Font-Italic attributes take a BooleanOption enumeration.

適用於

另請參閱