DataView for objects: Implementation Part V
Note: You can download the complete implementation here. In my last post I described the implementation of the IBindingList interface in ObjectListView, my implementation of a view for collections of arbitrary objects. The goal is to provide the same view capabilities for collections that DataView supports for DataTables. In this post, we'll move on to the final interface required for data binding our view, which is IBindingLi...
DataView for objects: Implementation Part IV
Note: You can download the complete implementation here. In my last post I described the implementation of the IList interface in ObjectListView, my implementation of a view for collections of arbitrary objects. The goal is to provide the same view capabilities for collections that DataView supports for DataTables. In this post, we'll move on to the next interface required for data binding, IBindingList. IBindingList This interface ...
DataView for objects: Implementation Part III
Note: You can download the complete implementation here. In my last post I described the implementation of the ICollection interface in ObjectListView, my implementation of a view for collections of arbitrary objects. The goal is to provide the same view capabilities for collections that DataView supports for DataTables. In this post, we'll move on to the next interface required for data binding, IList. Positional list access The ...
DataView for objects: Implementation Part II
Note: You can download the complete implementation here. In my last post I described the implementation of the IEnumerable interface in ObjectListView, my implementation of a view for collections of arbitrary objects. The goal is to provide the same view capabilities for collections that DataView supports for DataTables. In this post, we'll move on to the next interface required for data binding, ICollection. ICollection This ...
DataView for objects: Implementation Part I
In my last post, I described the .NET Framework support for views of collections of arbitrary objects. In short, the required interfaces are provided, but no implementations. In this post I'll describe what we need to do to roll our own view. In a nutshell, we need a view class that implements IBindingListView to wrap our collection of objects. Our view will provide sorting and filtering, and neither of these operations will change the ...