DekGenius.com
[ Team LiB ] Previous Section Next Section

SizeConverter

System.Drawing (system.drawing.dll)class

This class, derived from System.ComponentModel.TypeConverter, converts between Size values and other types, specifically strings, in persistence and design-time scenarios.

public class SizeConverter : System.ComponentModel.TypeConverter {
// Public Constructors
   public SizeConverter();
// 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 SizeConverter

    [ Team LiB ] Previous Section Next Section