Category not displayed

2 posts, 1 answers
  1. Conrad
    Conrad avatar
    2 posts
    Member since:
    May 2013

    Posted 29 May 2013 Link to this post


    I'm evaluating the Winforms tool and have made a small project to try the RadPropertyGrid component.  Here's the relevant code:

                radPropertyGrid2.PropertySort = PropertySort.CategorizedAlphabetical;

                RadPropertyStore store = new Telerik.WinControls.UI.RadPropertyStore();            

                store.Add(new PropertyStoreItem(typeof(double), "Foobar", 1.234, "ahdfl fdlskhs hjdfd", "Ack"));

                this.radPropertyGrid2.SelectedObject = store;


    When I run my project using this code, the category name is not drawn above the property.  See attached picture. I've tried creating properties manually using the PropertyStore, and also by using the [Category] attribute on my selected objects.  Neither seem to work.

    Any advice would be greatly appreciated.

    NOTE: when I use an object with multiple properties as the selected object, each property appears to get a separate group associated with it, even though the name on each group is blank.
  2. Answer
    Conrad
    Conrad avatar
    2 posts
    Member since:
    May 2013

    Posted 29 May 2013 Link to this post

    Never mind... figured it out.  I have EnableCustomGrouping set to true, which prevented the group labels from being created automatically.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top