BrowsableAttribute ignored on Nested Property

2 posts, 0 answers
  1. Michael C
    Michael C avatar
    6 posts
    Member since:
    Apr 2012

    Posted 23 Apr 2012 Link to this post

    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
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 24 Apr 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top