Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我熟悉如何在 Visual Studio 的属性窗口中包含用户控件的属性。谁能告诉我如何为用户控件创建一个自定义对话框,类似于 BackgroundColor 的颜色选择器?我有一个具有许多属性的控件,并且“控件生成器”表单会非常有帮助。
我认为您正在寻找UITypeEditor。msdn 中提供了演练,演练:实现 UI 类型编辑器。