System.Web.UI.WebControls.FontUnit Members

The members of System.Web.UI.WebControls.FontUnit are listed below.

See Also: Inherited members from System.ValueType

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.FontUnit class with the specified font size in points.

Initializes a new instance of the System.Web.UI.WebControls.FontUnit class with the specified font size.

Initializes a new instance of the System.Web.UI.WebControls.FontUnit class with the specified string.

Initializes a new instance of the System.Web.UI.WebControls.FontUnit class with the specified System.Web.UI.WebControls.FontSize.

Initializes a new instance of the System.Web.UI.WebControls.FontUnit class with the specified System.Web.UI.WebControls.Unit.

Initializes a new instance of the System.Web.UI.WebControls.FontUnit class with the specified font size and System.Web.UI.WebControls.UnitType value.

Initializes a new instance of the System.Web.UI.WebControls.FontUnit class with the specified string using the specified System.Globalization.CultureInfo object.

Public Fields

static readonly
EmptyFontUnit.

Represents an empty System.Web.UI.WebControls.FontUnit object.

static readonly
LargeFontUnit.

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

static readonly
LargerFontUnit.

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

static readonly
MediumFontUnit.

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

static readonly
SmallFontUnit.

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

static readonly
SmallerFontUnit.

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

static readonly
XLargeFontUnit.

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

static readonly
XSmallFontUnit.

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

static readonly
XXLargeFontUnit.

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

static readonly
XXSmallFontUnit.

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

Public Properties

[read-only]
IsEmptybool.

Gets a value that indicates whether the font size has been set.

[read-only]
TypeFontSize.

Gets a System.Web.UI.WebControls.FontSize enumeration value that represents the font size.

[read-only]
UnitUnit.

Gets a System.Web.UI.WebControls.Unit that represents the font size.

Public Methods

override
Equals(object) : bool

Determines whether the specified object is equivalent to the instance of the System.Web.UI.WebControls.FontUnit class that this method is called from.

override
GetHashCode() : int

Returns the hash code for this instance.

static
Parse(string) : FontUnit

Converts the specified string to its System.Web.UI.WebControls.FontUnit equivalent.

static
Parse(string, System.Globalization.CultureInfo) : FontUnit

Converts the specified string to its System.Web.UI.WebControls.FontUnit equivalent in the specified culture.

static
Point(int) : FontUnit

Creates a System.Web.UI.WebControls.FontUnit of type System.Drawing.Point from an integer value.

override
ToString() : string

Converts the System.Web.UI.WebControls.FontUnit object to the default string representation.

ToString(System.Globalization.CultureInfo) : string

Converts the System.Web.UI.WebControls.FontUnit object to a string representation, using the specified System.Globalization.CultureInfo.

ToString(IFormatProvider) : string

Converts a System.Web.UI.WebControls.FontUnit object to a string equivalent using the specified format provider.

Public Operators

static
Equality(FontUnit, FontUnit)

Compares two System.Web.UI.WebControls.FontUnit objects for equality.

static
Inequality(FontUnit, FontUnit)

Compares two System.Web.UI.WebControls.FontUnit objects for inequality.

static
Conversion to System.Web.UI.WebControls.FontUnit(Implicit)Documentation for this section has not yet been entered.