I’m a bit surprised that the DataGridControl relies on the IBindingList interface for adding new items to a bound list.
IBindingList is not the WPF way of doing things like this (where we have INotifyCollectionChanged), it is not very well supported withing the standard class library (I havn’t found an implementation of IBindingList outside of ADO.NET), and since IBindingLIst it is quite a large interface with lot of concepts (modification, searching, sorting, indexing, …), writing a wrapper class requires some unnecessary work.
To come to a conclusion: Since you are relying on this somewhat unusual interface IBindingList, it would be nice if your datagrid control would also support the normal WPF collection classes in the non-ADO.NET-case by providing a wrapper implemenation that redirects to/from ObservableCollection<T>.
Imported from legacy forums. Posted by Kuno (had 2070 views)