How do I select the first item in the property grid so description shows up

2 posts, 0 answers
  1. Martin Hamilton
    Martin Hamilton avatar
    18 posts
    Member since:
    Aug 2009

    Posted 13 May 2016 Link to this post

    I have a property grid with numerous groups.

    How do I cause the first item within the first group to be selected so that the Description box is populated with the 'description' for that first item?

  2. Dess
    Dess avatar
    2423 posts

    Posted 17 May 2016 Link to this post

    Hello Martin,

    Thank you for writing.

    In order to select a specific item from RadPropertyGrid, you can access it in the GridItems collection of the group and set the Selected property to true:
    public Form1()
        this.radPropertyGrid1.SelectedObject = this;
        radPropertyGrid1.PropertySort = PropertySort.CategorizedAlphabetical;
        radPropertyGrid1.SortOrder = SortOrder.Descending;
        this.radPropertyGrid1.Groups[0].GridItems[0].Selected = true;

    I hope this information helps. Should you have further questions I would be glad to help.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top