Hello to everybody.I have a property grid im my
application and I want to show not every Category of
properties of a control (for example a Button).Everith ing
work like I aspect if want to display only a category of
property of a button, but if I want to display more than
one category it doesn't display anything.
Here's an example of the code I use:
attribute[] attributes=new attribute[2];
attributes[0]=categoryattrib ute.layout;
attributes[1]=CategoryAttrib ute.Appearance;
AttributeCollec tion ac=new AttributeCollec tion
(attributes);
propertyGrid1.B rowsableAttribu tes=ac;
Anyone has some idea to display more than one categories?
Thanks to everybody who read this topic, or help me.
application and I want to show not every Category of
properties of a control (for example a Button).Everith ing
work like I aspect if want to display only a category of
property of a button, but if I want to display more than
one category it doesn't display anything.
Here's an example of the code I use:
attribute[] attributes=new attribute[2];
attributes[0]=categoryattrib ute.layout;
attributes[1]=CategoryAttrib ute.Appearance;
AttributeCollec tion ac=new AttributeCollec tion
(attributes);
propertyGrid1.B rowsableAttribu tes=ac;
Anyone has some idea to display more than one categories?
Thanks to everybody who read this topic, or help me.