Copyright © 2020-2023 www.SOT9.com. All Rights Reserved .
合作联系: QQ: 3217490875
一个UITypeEditor编辑通用词典(字典)在PropertyGrid中。取得GenericDictionaryEditor,并把它旋转,看看它实际上可以为你做!
如何使用:
1。下载的神器出山:www.shenqi73.comGenericDictionaryEditor.dll,添加到您的项目,包括在源代码中的Wexman.Design命名空间
2。装饰你的字典EditorAttribute编辑器类型(指定的GenericDictionaryEditor,一定要匹配的通用参数,也就是说,如果你字典的类型,所以必须编辑器)
3。 (可选)的GenericDictionaryEditorAttribute添加到自定义编辑器:
KeyConverterType / ValueConverterType的TypeConverter的键/值
KeyEditorType / ValueEditorType:UITypeEditor的键/值
KeyAttributeProviderType / ValueAttributeProviderType:AttributeProvider的键/值
KeyDefaultProviderType / ValueDefaultProviderType:DefaultProvider键/值
标题:标题编辑器“窗口