Click here to Skip to main content
15,614,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone,
I am working with usercontrols, i have created my own control properties. Now i want to group my own custom properties separately in designer grid.

1 solution

Flag your properties with the Category attribute, like so:

public String MyProp {

The property MyProp will now be grouped with other properties flagged as "Custom".
Share this answer
shahzad ch 13-Jul-11 3:04am    
I appreciate your quick response. I have already tried this but of no use. when i add [Category()] with Deafult categories it works fine but when i try to use my own category (like this [Category("Custom")]) it doesn't work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900