471,348 Members | 1,322 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Way to get BindingList<T> removed item?


I would like to perform an action on an item when it is removed from a
BindingList<T>. However, I can only find out how to get the old index
of the item, which doesn't really help me.

Is there a way to get at the removed item?

Jun 27 '08 #1
1 4584
Well, one option would be to subclass BindingList<Tand override the
RemoveItem() method (and SetItem() and ClearItems() if needed). Then
you have access to the item before it gets removed.

Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Frank VDL | last post: by
reply views Thread by Chris Dunaway | last post: by
reply views Thread by AndyM | last post: by
5 posts views Thread by Mike Surcouf | last post: by
4 posts views Thread by Michel Walsh | last post: by
1 post views Thread by Merk | last post: by
1 post views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.