Paul Ballard has written an excellent
article for the latest
MSDN Magazine (
August 2005) about custom collections. I am currently in the midst of a project that uses custom collections a lot, so naturally I have a healthy interest in the subject ;-) I have to admit that I haven't read it in full yet, just browsed through it.
Pauls suggested implementation of interfaces etc. is great as inspiration - I've done most of it like he does, but I may have missed a few nice details (like implementing IEditableObject - I didn't even know it existed!). So without actually going back to the drawing board, some things may end up being implemented differently from today, based on the suggestions and eye openers in this article.
My project is using Framework 1.1 and
Pauls code is based on Framework 2.0, so I'll have to see what can and cannot be done within my solution :-/
The article and source code is available here:
Data Binding: Give Your Everyday Custom Collections a Design-Time Makeover -- MSDN Magazine, August 2005