Hi all,
It seems like I've hit a limitation with the RadPropertyGrid.
I have a class which has a few children and these children have other children. At the deepest level, the class has some primitive properties like int's and strings. When binding to an instance of the parent class with the children populated, the grid does not display their values. It does show the property names.
So consider the following object graph:
Class A
- Class B
-- Class C
--- A = 1
--- B = 2
--- C = 3
--- D = 4
--- Name = "Test"
It shows the output in attached screenshot 01.
What's even more strange is the following:
When I add a property to Class A & Class B of type Class C and give them all the same name but set different instances of the class C, then all will display the values of the instance directly under A.
See screenshot 02 for output, very strange behavior.
I does display a binding error when collapsing the deeper nested levels...
Hope someone from Telerik can clear up some confusion.
A vs2010 solution can be found at the following url in which you can see the explained behaviour.
h ttp://www.filedropper.com/propertygridtest
Kind regards,
Dwight
It seems like I've hit a limitation with the RadPropertyGrid.
I have a class which has a few children and these children have other children. At the deepest level, the class has some primitive properties like int's and strings. When binding to an instance of the parent class with the children populated, the grid does not display their values. It does show the property names.
So consider the following object graph:
Class A
- Class B
-- Class C
--- A = 1
--- B = 2
--- C = 3
--- D = 4
--- Name = "Test"
It shows the output in attached screenshot 01.
What's even more strange is the following:
When I add a property to Class A & Class B of type Class C and give them all the same name but set different instances of the class C, then all will display the values of the instance directly under A.
See screenshot 02 for output, very strange behavior.
I does display a binding error when collapsing the deeper nested levels...
Hope someone from Telerik can clear up some confusion.
A vs2010 solution can be found at the following url in which you can see the explained behaviour.
h ttp://www.filedropper.com/propertygridtest
Kind regards,
Dwight