Style.Font 属性

定义

返回包含有关控件字体信息的 FontInfo 对象。Returns a FontInfo object that contains font information about the 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.

public:
 property System::Web::UI::MobileControls::FontInfo ^ Font { System::Web::UI::MobileControls::FontInfo ^ get(); };
public System.Web.UI.MobileControls.FontInfo Font { get; }
member this.Font : System.Web.UI.MobileControls.FontInfo
Public ReadOnly Property Font As FontInfo

属性值

一个枚举值,指定有关控件的字体信息。An enumerated value specifying the font information about the control.

注解

FontInfo 类具有以下属性:The FontInfo class has the following properties:

PropertyProperty 描述Description
FontInfo.Bold 字体是否为粗体。Whether the font is bold.
FontInfo.Italic 字体是否为斜体。Whether the font is italic.
FontInfo.Name 此字体实例的标识符。An identifier for this font instance.
FontInfo.Size 字号。The font size.

适用于

另请参阅