BooleanOption 枚举

定义

警告

此 API 现已过时。

指定样式选项。Specifies a style option. 此类不能被继承。This class cannot be inherited. 若要了解如何开发 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
[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 移动应用,请参阅 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 移动应用,请参阅 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 移动应用,请参阅 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.

适用于

另请参阅