-
Notifications
You must be signed in to change notification settings - Fork 1
net472_PropertyGridHelpers.Converters_TypeConverter 1_ConvertTo
dparvin edited this page Jul 5, 2025
·
11 revisions
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