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
}