DekGenius.com
[ Team LiB ] Previous Section Next Section

FontConverter

System.Drawing (system.drawing.dll)class

Derived from TypeConverter, this class converts Font objects to and from other types, specifically a string representation used in persistence and design-time scenarios.

public class FontConverter : System.ComponentModel.TypeConverter {
// Public Constructors
   public FontConverter();
// Public Instance Methods
   public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context,
        Type sourceType);  // overrides System.ComponentModel.TypeConverter
   public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context,
        Type destinationType);  // 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 object CreateInstance(System.ComponentModel.ITypeDescriptorContext context,
        System.Collections.IDictionary propertyValues);  // overrides System.ComponentModel.TypeConverter
   public override bool GetCreateInstanceSupported(
        System.ComponentModel.ITypeDescriptorContext context);  // overrides System.ComponentModel.TypeConverter
   public override PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context,
        object value, Attribute[ ] attributes);
  // overrides System.ComponentModel.TypeConverter
   public override bool GetPropertiesSupported(
        System.ComponentModel.ITypeDescriptorContext context);  // overrides System.ComponentModel.TypeConverter
}

Hierarchy

System.Object System.ComponentModel.TypeConverter FontConverter

    [ Team LiB ] Previous Section Next Section