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
XamGrid ItemsSource
posted

Can someone refer me to documentation about how the ItemsSource property is treated for a WPF XamGrid?

The only stuff I found said that it is of type IEnumerable and that it has specialized support for ObservableCollections and IList.

However, while binding a VM property of type DataView to the XamGrid, I find that it understands ADO.Net DataViews a *lot* better than the documentation allows.  For example, it is aware of changes in the underlying data, presumably because of DataView events (or IBindingList ones).  I'm wondering how far I should rely on this specialized behavior in the XamGrid that extends support for DataView beyond what IList seems to allow.

Please refer me to something that says that XamGrid's have support for IBindingList or DataView or such.  I've put a watch on ItemsSource and the outer XamGrid and there are properties buried pretty deep (RowsManger and DataManager) that seem to indicate that the XamGrid really understands DataViews.  Hopefully this is documented and reliable.