Nested Properties

10 posts, 0 answers
  1. John Howe
    John Howe avatar
    15 posts
    Member since:
    Feb 2006

    Posted 14 Jul 2011 Link to this post

    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
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 15 Jul 2011 Link to this post

    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!

  3. UI for WPF is Visual Studio 2017 Ready
  4. John Howe
    John Howe avatar
    15 posts
    Member since:
    Feb 2006

    Posted 15 Jul 2011 Link to this post

    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


  5. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 15 Jul 2011 Link to this post

    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!

  6. stephan Jones
    stephan  Jones avatar
    2 posts
    Member since:
    Apr 2010

    Posted 30 Aug 2011 Link to this post

    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.
  7. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 02 Sep 2011 Link to this post

    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 >>

  8. stephan Jones
    stephan  Jones avatar
    2 posts
    Member since:
    Apr 2010

    Posted 02 Sep 2011 Link to this post

    Way to go. Thanks.
  9. EM
    EM avatar
    21 posts
    Member since:
    Oct 2006

    Posted 13 Jul 2012 Link to this post

    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.
  10. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 16 Jul 2012 Link to this post

    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.

  11. EM
    EM avatar
    21 posts
    Member since:
    Oct 2006

    Posted 16 Jul 2012 Link to this post

    Thank you Ivan -

    I appreciate the links.

    Etienne
Back to Top
UI for WPF is Visual Studio 2017 Ready