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
70
Cannot get grid to bind to dynamically added properties
posted

Hi,

This is a newbie question. I Am doing some performance tests on the grid.

 I Have a XAMDataGrid bound to an observable collection of my custom class objects.

In my data class I have some static properties and I am also dynamically adding some properties using the ICustomTypeDescriptor interface.

The problem I Have is that the grid is only showing the static columns, and not the dynamically added ones. I tried handing the FieldInitialisd events and adding the custom columns manually, but I Am not able to get them to bind properly.

So my question is how do I get the grid to bind to dynamic columns added via the CustomTypeDescriptors?

Appreciate any help,

thanks

 BIjesh

Parents Reply Children