net472_PropertyGridHelpers.Converters_TypeConverter 1_ConvertTo - dparvin/PropertyGridHelpers GitHub Wiki
Converts an object of type T to the requested destination type.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value,
Type destinationType)
parameter | description |
---|---|
context | Context information from the property grid. |
culture | The culture to use during conversion. |
value | The current value to convert. |
destinationType | The type to convert to (typically string). |
A string representation of the value if destinationType is string
; otherwise defers to the base implementation.
- class TypeConverter<T>
- namespace PropertyGridHelpers.Converters
- assembly PropertyGridHelpers