MobileControl.Font 属性

定义

获取包含有关该控件字体信息的 FontInfo 对象。Gets 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:
 virtual property System::Web::UI::MobileControls::FontInfo ^ Font { System::Web::UI::MobileControls::FontInfo ^ get(); };
public virtual System.Web.UI.MobileControls.FontInfo Font { get; }
member this.Font : System.Web.UI.MobileControls.FontInfo
Public Overridable ReadOnly Property Font As FontInfo

属性值

包含控件的字体信息的 FontInfoThe FontInfo that contains the font information about the control.

注解

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

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

适用于

另请参阅