G
Guest
I am trying to set the PropertyGrid. BrowsableAttributes to multiple values
of CategoryAttribute but if I use more then one no properties are displayed.
Code below--
Attribute filterattribute1=new CategoryAttribute("TestJ1");
Attribute filterattribute2=new CategoryAttribute("TestJ2");
propertyGrid1.BrowsableAttributes=new AttributeCollection(new Attribute[] {
new CategoryAttribute("Appearance"),
new CategoryAttribute("Layout")});
propertyGrid1.SelectedObject=this;
propertyGrid1.Refresh();
I have seen other references to this problem on the web.
Is there a solution or workaround for this problem?
Thanks.
of CategoryAttribute but if I use more then one no properties are displayed.
Code below--
Attribute filterattribute1=new CategoryAttribute("TestJ1");
Attribute filterattribute2=new CategoryAttribute("TestJ2");
propertyGrid1.BrowsableAttributes=new AttributeCollection(new Attribute[] {
new CategoryAttribute("Appearance"),
new CategoryAttribute("Layout")});
propertyGrid1.SelectedObject=this;
propertyGrid1.Refresh();
I have seen other references to this problem on the web.
Is there a solution or workaround for this problem?
Thanks.