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
2150
Unwanted FieldLayouts
posted

I have a ado.net dataset which I am binding to the xamDataGrid.

My XamDataGrid.FieldLayoutSettings has AutoGenerateFields="False".

I am able to manually define my hierarchical child field layouts correctly for relations that I care about.

But I am also seeing some other odd fieldlayouts being created that I don't want/need.  I can see them during fieldlayoutinitialized events.  They stem from a method FieldLayoutCollection.InitializeChildFieldLayouts which seems to be iterating over table relationships.  Where regular relationships are concerned I don't get unwanted fieldlayouts. 

However, the TypedListPropertyDescriptorProvider seems to be picking up on byte[] columns and creating child field layouts for them.  I'd rather this not happen since the screen is already getting slow.  Why are they being created when I specified AutoGenerateFields="False"?  I'm looking into work-arounds and would be open to suggestions.