Nested Categories

5 posts, 0 answers
  1. Adige S.p.A
    Adige S.p.A avatar
    8 posts
    Member since:
    Jul 2012

    Posted 30 Jan 2014 Link to this post

    Hi!

    Nested categories are supported?

    I want to do something similar to the image attached.
    Which is slightly different from the management of the nested properties.

    Thanks
  2. Adige S.p.A
    Adige S.p.A avatar
    8 posts
    Member since:
    Jul 2012

    Posted 31 Jan 2014 in reply to Adige S.p.A Link to this post

    Nested Categories or better Nested Groups
  3. UI for WPF is Visual Studio 2017 Ready
  4. Hristo
    Admin
    Hristo avatar
    41 posts

    Posted 31 Jan 2014 Link to this post

    Hello Milena,

    You can achieve the nested categories result by using nested properties. However, nested groups are not supported. More details on nested properties can be found in the following article in our online documentation. You can also see our online demo. The demo is about Silverlight, however the same principle can be applied to WPF.

    Regards,
    Hristo
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. Adige S.p.A
    Adige S.p.A avatar
    8 posts
    Member since:
    Jul 2012

    Posted 31 Jan 2014 in reply to Hristo Link to this post

    Ok using PropertyDefinition.NestedProperties I need to manage both nested categories or group and properties, suppose that I'm able to distinguish which are the categories and which properties and i will assign an empty datatemplate to the  editortemplate of category.
    To give a different look and feel to the categories, how can I edit the style or template of an entire row that represents the category?

    Thanks
  6. Hristo
    Admin
    Hristo avatar
    41 posts

    Posted 05 Feb 2014 Link to this post

    Hello Milena,

    Unfortunately, this type of styling is not possible with RadPropertyGrid. However, as a workaround, you can style the background of the nested properties. This approach is demonstrated in our online demo on the following link.

    You can also see this article which explains how the RadPropertyGrid is structured if you want to create a custom style.

    Regards,
    Hristo
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
UI for WPF is Visual Studio 2017 Ready