Search code examples
.netwinforms.net-3.5windows-forms-designertypeconverter

Is there a built-in TypeConverter or UITypeEditor to edit a list of strings


I wish to know if .Net-3.5 comes with a built-in List<string> or string[] TypeConverter or UITypeEditor so that I can edit this kind of property from a property grid.


Solution

  • You can use [Editor("System.Windows.Forms.Design.StringArrayEditor, System.Design, [assembly version and public key token information here]", typeof(System.Drawing.Design.UITypeEditor))]