ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 763
نمايش فراداده

FontUnitConverter

System.Web.UI.WebControls (system.web.dll)class

The FontUnitConverter class is a type converter that can convert between a FontUnit and other basic data types. This class is never accessed directly. You can access its functionality through the System.ComponentModel.TypeDescriptor helper class.

public class 

FontUnitConverter : System.ComponentModel.TypeConverter { // Public Constructors public

FontUnitConverter ( ); // Public Instance Methods public override bool

CanConvertFrom (System.ComponentModel.ITypeDescriptorContext

context , Type

sourceType ); // overrides System.ComponentModel.TypeConverter public override object

ConvertFrom (System.ComponentModel.ITypeDescriptorContext

context , System.Globalization.CultureInfo

culture , object

value ); // overrides System.ComponentModel.TypeConverter public override object

ConvertTo (System.ComponentModel.ITypeDescriptorContext

context , System.Globalization.CultureInfo

culture , object

value , Type

destinationType ); // overrides System.ComponentModel.TypeConverter public override StandardValuesCollection

GetStandardValues (System.ComponentModel.ITypeDescriptorContext

context ); // overrides System.ComponentModel.TypeConverter public override bool

GetStandardValuesExclusive (System.ComponentModel.ITypeDescriptorContext

context ); // overrides System.ComponentModel.TypeConverter public override bool

GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext

context ); // overrides System.ComponentModel.TypeConverter }

Hierarchy

System.Object System.ComponentModel.TypeConverter FontUnitConverter