Problem with property grid control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mevar81

    #1

    Problem with property grid control

    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.

Working...