Hierarchical xml and nested properties

2 posts, 0 answers
  1. Phil Steel
    Phil Steel avatar
    1 posts
    Member since:
    Oct 2009

    Posted 03 May 2012 Link to this post

    Hello, I was wondering whether your Silverlight PropertyGrid control supports nested binding to hierarchical objects? I have a class below:

    public class Node
    {
      public string Key {get; set;}
      public string Value {get; set;} 
      public List<Node> ChildNodes { get; set;}
    }

    This object represents xml and I need to be able to bind it to a PropertyGrid where the Key is the propertyname (left column in the grid) and the Value is the value, i.e. the key is the Xml element name and the value is its value (the right column in the grid, which would be editable). The ChildNodes property represents nested xml elements. 

    Is this sort of thing possible with the 
    PropertyGrid? 
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 07 May 2012 Link to this post

    Hello,

    The RadPropertyGrid supports nested binding as shown in this online demo. So far the PropertyGrid does not support nested hierarchy with Dynamic Objects. 

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top