开发者

How to put my published properties into the specified category of Object Inspector?

开发者 https://www.devze.com 2023-02-27 10:23 出处:网络
I have my own visual component. It has many published 开发者_JAVA百科properties and events. I want them to be shown in the specified standard categories of Object Inspector at design-time (Visual, Lay

I have my own visual component. It has many published 开发者_JAVA百科properties and events. I want them to be shown in the specified standard categories of Object Inspector at design-time (Visual, Layout, Drag Drop / Docking, Linkage etc).

Now all my properties are in the Miscellaneous category.


You can use RegisterPropertyInCategory function, defined in the DesignIntf. Example.

0

精彩评论

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