I am trying to set the PropertyGrid. BrowsableAttrib utes to multiple values
of CategoryAttribu te but if I use more then one no properties are displayed.
Code below--
Attribute filterattribute 1=new CategoryAttribu te("TestJ1");
Attribute filterattribute 2=new CategoryAttribu te("TestJ2");
propertyGrid1.B rowsableAttribu tes=new AttributeCollec tion(new Attribute[] {
new CategoryAttribu te("Appearance" ),
new CategoryAttribu te("Layout")}) ;
propertyGrid1.S electedObject=t his;
propertyGrid1.R efresh();
I have seen other references to this problem on the web.
Is there a solution or workaround for this problem?
Thanks.
--
John Olbert
of CategoryAttribu te but if I use more then one no properties are displayed.
Code below--
Attribute filterattribute 1=new CategoryAttribu te("TestJ1");
Attribute filterattribute 2=new CategoryAttribu te("TestJ2");
propertyGrid1.B rowsableAttribu tes=new AttributeCollec tion(new Attribute[] {
new CategoryAttribu te("Appearance" ),
new CategoryAttribu te("Layout")}) ;
propertyGrid1.S electedObject=t his;
propertyGrid1.R efresh();
I have seen other references to this problem on the web.
Is there a solution or workaround for this problem?
Thanks.
--
John Olbert
Comment