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

Nested Categories

4 Answers 52 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Adige S.p.A
Top achievements
Rank 1
Adige S.p.A asked on 30 Jan 2014, 05:18 PM
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

4 Answers, 1 is accepted

Sort by
0
Adige S.p.A
Top achievements
Rank 1
answered on 31 Jan 2014, 10:04 AM
Nested Categories or better Nested Groups
0
Hristo
Telerik team
answered on 31 Jan 2014, 03:12 PM
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 >>
0
Adige S.p.A
Top achievements
Rank 1
answered on 31 Jan 2014, 03:57 PM
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
0
Hristo
Telerik team
answered on 05 Feb 2014, 03:38 PM
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 >>
Tags
PropertyGrid
Asked by
Adige S.p.A
Top achievements
Rank 1
Answers by
Adige S.p.A
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or