Let’s assume that you have a property of a custom type and want to edit it in the PropertyGridControl. To be able to convert a value entered by a user (for example, this may be a string value) to the custom type, use a TypeConverter class descendant. It can be applied using the TypeConverterAttribute attribute:
[C#][TypeConverter(typeof(MyTypeConverter))]publicCustomerValue{ get; set;}