开发者

Properties Component

What is the component that allows me to create a custom properties form? I mean, 开发者_StackOverflow中文版a component like this:

Properties Component

I'm trying to make an editor, so I need that component.


This is done via quite a few things. If you're working with the PropertyGrid, I recommend reading: Getting the Most Out of the .NET Framework PropertyGrid Control.

In particular, "Providing a Custom UI for Your Properties" describes the process of creating a custom UITypeEditor. In addition, it discusses TypeConverter and the attributes used by the PropertyGrid for handling custom type editing.


You'll have to look into UITypeEditor and the EditorAttribute. There are plenty of examples out there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜