This is a migrated thread and some comments may be shown as answers.

BrowsableAttribute ignored on Nested Property

1 Answer 65 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Michael C
Top achievements
Rank 1
Michael C asked on 23 Apr 2012, 10:30 PM
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

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 24 Apr 2012, 07:58 AM
Hello Michael,

This is a known issue and has already been resolved. Please download our latest internal build and give it a try.  

All the best,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
PropertyGrid
Asked by
Michael C
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or