System.Web.UI.WebControls.FontUnit.Medium Field

Represents a System.Web.UI.WebControls.FontUnit object with the FontUnit.Type property set to FontSize.Medium.

Syntax

public static readonly FontUnit Medium

Remarks

Use the FontUnit.Medium field to represent a System.Web.UI.WebControls.FontUnit object with the FontUnit.Type property set to FontSize.Medium.

In Internet Explorer 4.0 and later, the HTML rendered output from a control with the FontInfo.Size property set to this field is style= "font-size:Medium". In browsers earlier than Internet Explorer 4.0, the HTML rendered output is <font size="4">.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0