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

Nested Properties

9 Answers 228 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Chris Johnson
Top achievements
Rank 1
Chris Johnson asked on 14 Jul 2011, 10:04 AM
Hi,

How do nested properties work in the PropertyGrid when created using XAML.
Want to see something like:-

- Level One
    
Property One
    Property Two
    Property Three
- Level Two
    Property One
    Property Two
    Property Three
     - Level TwoOne
          Property One
          Property Two
          Property Three
     - Level TwoTwo
          Property One
          Property Two
          Property Three
- Level Three
    
Property One
    Property Two
    Property Three

Regards

John

9 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 15 Jul 2011, 09:14 AM
Hi John Howe,

I have prepared an example project that illustrates a nested properties scenario. Please, refer to it and let me now whether this solution meets your requirements.

All the best,
Ivan Ivanov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Chris Johnson
Top achievements
Rank 1
answered on 15 Jul 2011, 09:40 AM
Hi Ivan
Thanks for the code.  That produces nested property grids and is not quite the accepted method of displaying these properties in a property inspector/grid.

The sort of thing I was looking for is in the attached image file nestedproperties.png, the propertyinspector is the standard .net control, I have also attached an image of the output from the code you sent

I kind of guess that this is not going to be possible in the inital release.  Not a show stopper, we can re-write using the treeview control and get somehwere close.

Incidentally when will there be some updated help files that include the new components for the Q2 release?

Regards

John


0
Ivan Ivanov
Telerik team
answered on 15 Jul 2011, 11:18 AM
Hi John Howe,

Thank you for your feedback. Native nested property support is one of the features that we are planing for our future releases. As for the help articles for WPF, they will be uploaded in few days.

Regards,
Ivan Ivanov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
stephan Jones
Top achievements
Rank 1
answered on 31 Aug 2011, 12:37 AM
I would tend to agree with John. His NestedProperties.png is what we should get when one of the properties is a class.
Consider the analogy (or even compatibility) with C# property grids. They use 'TypeConverters' such as derived from ExpandableObjectConverter to implement nested objects.

Right now, the luck of this functionality is a show stopper on our project.
0
Pavel Pavlov
Telerik team
answered on 02 Sep 2011, 02:31 PM
Hi guys ,

Just a quick update :
The feature is on its way and will be present in the very next official release.

Regards,
Pavel Pavlov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
stephan Jones
Top achievements
Rank 1
answered on 02 Sep 2011, 06:16 PM
Way to go. Thanks.
0
EM
Top achievements
Rank 1
answered on 13 Jul 2012, 08:18 PM
Hello,

do you have an update on this topic with the current Q2 2012 version?
Very interested in an example project that produces the output above.

Regards,

E.
0
Ivan Ivanov
Telerik team
answered on 16 Jul 2012, 12:19 PM
Hi Etienne,

 We do support this feature with Q2 for both manually-generated an auto-generated PropertyDefinitions. Here is a demo > PropertyGrid > NestedProperties and a help article on this matter.

All the best,
Ivan Ivanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
EM
Top achievements
Rank 1
answered on 16 Jul 2012, 12:43 PM
Thank you Ivan -

I appreciate the links.

Etienne
Tags
PropertyGrid
Asked by
Chris Johnson
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Chris Johnson
Top achievements
Rank 1
stephan Jones
Top achievements
Rank 1
Pavel Pavlov
Telerik team
EM
Top achievements
Rank 1
Share this question
or