This question is locked. New answers and comments are not allowed.
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?
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?