[WF4;DotNet]Use TypeConverter

TypeConverter will be used in WF4. this sample demonstrate how to use TypeConverter in imperative code.
Main Program:

Person Class:

Converter:

Result:

For more info about TypeConverter and TypeDescriptor please check these links:
http://msdn.microsoft.com/en-us/library/system.componentmodel.typeconverter.aspx
http://msdn.microsoft.com/en-us/library/system.componentmodel.typedescriptor.aspx

blog comments powered by Disqus