all groups > dotnet windows forms > february 2004 >
You're in the

dotnet windows forms

group:

PropertyGrid section



PropertyGrid section Bronco
2/29/2004 1:51:30 PM
dotnet windows forms: How do I make sections in a PropertyGrid. IOW. what do I have to do to
prevent every public property appearing in the "misc" section?

TIA,

Re: PropertyGrid section Javier Campos
3/1/2004 3:52:45 PM

"Bronco" <bronco.news2@xs4all.nl> escribió en el mensaje
news:MPG.1aabfebe9977ed3a989683@news.xs4all.nl...
[quoted text, click to view]

You set the CategoryAttribute and BrowsableAttribute attributes to your
property,
ex:

[Browsable(false)]
public int MyProperty { get { return myVariable; } }

[Browsable(true), Category("My Category")]
public int MySecondProperty { get { return MyProperty; } }

Hope this helps,

Javier Campos

AddThis Social Bookmark Button