This documentation is archived and is not being maintained.

FontSize Enumeration

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

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1
Show: