Quantcast
Viewing all articles
Browse latest Browse all 7205

How to use TypeConverter in PropertyGridControl

TypeConverter allows converting values from one type to another. For example, you can convert a string entered into an editor to a custom type. To use TypeConverter, assign it as an attribute to a property that you wish to convert: 


[C#]
[TypeConverter(typeof(MyTypeConverter))]publicCustomerValue{   get;   set;}

 


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>