We’re having an odd issue with the DataGridControl if the ItemsSource is bound to a property that returns a List(Of OurClass) but that property is currently returning Null.
Basically in our DataGridControl_SizeChanged event we are walking the Columns collection to resize some of the columns to autofill the space, and this works fine as long as the ItemsSource has an Enumerable source (a list of ourClass objects in this case)
However, if the property that the ItemsSource is bound to returns Null then we get a StackOverflow.
I’ve done some digging and it looks like internally the datagrid is getting stuck calling IsSourceSupportingDBNull over and over and eventually blows the stack.
In the interim we’ve gotten around this by making sure that the property always returns a valid (but empty) list and it all works, but any advice on if we are doing something odd?