Style.Font Property

Definition

Returns a FontInfo object that contains font information about the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public System.Web.UI.MobileControls.FontInfo Font { get; }

Property Value

An enumerated value specifying the font information about the control.

Remarks

The FontInfo class has the following properties:

Property 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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also