FontSize Enumeration

Specifies the size of the rendered text. This class cannot be inherited.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in

public enum FontSize
public enum FontSize
public enum FontSize

 Member nameDescription
LargeFont is larger than Normal
NormalDefault font size. 
NotSetDefault value. If the value is NotSet, then the font's size is inherited from the control's style, or, if the style is not defined, from the control's parent control. 
SmallFont is smaller than Normal

The FontSize enumeration is a subset of System.Web.UI.WebControls.FontSize, and represents the size of a font in a container. For example, if you have a List control inside of a Panel control, with the Panel control's font size set to Normal, you can specify a small font size for the List control.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions