Hi, I have two PropertyGrid, one display normalMode, another one display stepMode. Both of the mode are stored in a class named Configuration. I use Configuration class to serialize and deserialize into XML file, my problem is that I cannot serialize the values and I cannot deserialize the values as well. Can anyone help to solve it?
And also, I found that if the class level goes to third level, there comes to a problem of serialize and displaying.
For example :
-Class A
--Class B
---Class C
-----Name
-----Age
-----Gender
It is not a problem to display the value of class B in propertyGrid, but when it goes to class C, the column of Name, Age, and Gender display nothing. Serialize and deserialize function would not function as well.
The attachment below is my sample..
Thanks in Advance.
Attachment:
WpfApplication2_9eec8b5f.zip