是否有内置的TypeConverter或UITypeEditor编辑字符串列表 [英] Is there a built-in TypeConverter or UITypeEditor to edit a list of strings

查看:68
本文介绍了是否有内置的TypeConverter或UITypeEditor编辑字符串列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道.Net-3.5是否带有内置的 List< string> string [] TypeConverter UITypeEditor ,这样我就可以从属性网格中编辑这种属性。

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.

推荐答案

您可以使用[Editor( System.Windows.Forms.Design.StringArrayEditor,System.Design,[程序集版本和公共密钥令牌信息在此处],typeof(System.Drawing.Design.UITypeEditor))]

You can use ", typeof(System.Drawing.Design.UITypeEditor))]

这篇关于是否有内置的TypeConverter或UITypeEditor编辑字符串列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆