ConverterAttribute
There are cases when the editors require types that are not the same as the property type defined in the business object. In these case users can use a converter class. This is a custom class implementing the IPropertyConverter interface. The next example demonstrates how such converted can be used.
Example
In this example we will demonstrate how we can use a number picker editor, which supports double type, for property of type decimal. First, you need a proper converter:
Here is the decoration of the source class with attributes:
Finally, you have to register a number picker editor for the item Price property: