FontInfo.Bold 属性

定义

获取或设置一个值,该值指示字体是否为粗体。Gets or sets a value indicating whether the font is bold. 默认值为 NotSetThe default value is NotSet. 此 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.

public:
 property System::Web::UI::MobileControls::BooleanOption Bold { System::Web::UI::MobileControls::BooleanOption get(); void set(System::Web::UI::MobileControls::BooleanOption value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.MobileControls.BooleanOption Bold { get; set; }
member this.Bold : System.Web.UI.MobileControls.BooleanOption with get, set
Public Property Bold As BooleanOption

属性值

指示字体是否为粗体的枚举值。An enumerated value indicating whether the font is bold.

属性

注解

Bold 属性采用 BooleanOption 枚举,而不是布尔值。The Bold property takes a BooleanOption enumeration, not a Boolean value.

适用于

另请参阅