I am setting te BrowsableAttribute = false on a base class's Identifier's property . In my example.. I have a nested property 2 levels deep that I want to show in the PropertyGrid (see attached image). Here is some psudocode that describes the makeup of my class structutre that is bound to the PropertyGrid
BaseItem
{
[Browsable(False)]
Guid ID;
String Name;
}
ClassA: BaseItem
{
NestedPropertyTypeA NestedProperty;
}
NestedPropertyType: BaseItem
{
NestedSubPropertyTypeA SubPropertyA;
NestedSubPropertyTypeB SubPropertyB;
}
NestedSubPropertyTypeA: BaseItem
{
// Browsable ingored here for BaseItem.ID's property
}
NestedSubPropertyTypeB: BaseItem
{
// Browsable ingored here too
}
We are using Q1 2012 release, build 326
BaseItem
{
[Browsable(False)]
Guid ID;
String Name;
}
ClassA: BaseItem
{
NestedPropertyTypeA NestedProperty;
}
NestedPropertyType: BaseItem
{
NestedSubPropertyTypeA SubPropertyA;
NestedSubPropertyTypeB SubPropertyB;
}
NestedSubPropertyTypeA: BaseItem
{
// Browsable ingored here for BaseItem.ID's property
}
NestedSubPropertyTypeB: BaseItem
{
// Browsable ingored here too
}
We are using Q1 2012 release, build 326