Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Hierarchical databinding with dynamic properties.
posted

Hi,

I implemented "ICustomTypeDescriptor" for getting properties for my model object. Binding works fine for the first level. But i am finding it difficult to bind the hierarchical data.

Each "Parent Object"  has a "Child Object" and both has ICustomTypeDescriptor implementation for properties. While creating properties for the "Parent Object", i created a property (PropertyDescriptor) with PropertyType as "Child Object" type. But still the hierarchical layout is not created.

How to create hierarchical field layout in the grid when the DataModel is dealing with dynamic properties (ICustomTypeDescriptor implementation)?

It would be of a great help, if you can give me some sample code to do this.

Thanks,

Sreeram.

Parents Reply Children