net90_PropertyGridHelpers.Converters_TypeConverter 1_ConvertTo - dparvin/PropertyGridHelpers GitHub Wiki

TypeConverter<T>.ConvertTo method

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).

Return Value

A string representation of the value if destinationType is string; otherwise defers to the base implementation.

See Also

⚠️ **GitHub.com Fallback** ⚠️