DekGenius.com
[ Team LiB ] Previous Section Next Section

DataGridPreferredColumnWidthTypeConverter

System.Windows.Forms (system.windows.forms.dll)class

This System.ComponentModel.TypeConverter is used to transform to and from the integer DataGrid.PreferredColumnWidth value, in serialization and design-time scenarios.

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

Hierarchy

System.Object System.ComponentModel.TypeConverter DataGridPreferredColumnWidthTypeConverter

    [ Team LiB ] Previous Section Next Section