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

Hierarchical xml and nested properties

1 Answer 114 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Phil Steel
Top achievements
Rank 1
Phil Steel asked on 03 May 2012, 05:20 PM
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? 

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 07 May 2012, 11:58 AM
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 >>

Tags
PropertyGrid
Asked by
Phil Steel
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or