Even if the listbox wanted to make that check, it wouldn't matter because
the bindingmanager is not threadsafe. As documented in the ms docs, the
bindingmanagerbase class' instance methods are not thread safe. Basically,
you should not manipulate the underlying datasource from any thread but the
ui thread. The other option is to manipulate a different object that will
serve as a datasource and when you are done manipulating that, marshall a
call to the ui thread and then set the databound objects to use the new
object as its datasource.
> What happens if the object referenced by the DataSource property in a
> ListBox
[quoted text clipped - 3 lines]
> events, so it's not clear how the changes to the IList are being detected
> under the covers.
pearsons_11114 - 23 Apr 2005 17:21 GMT
I was afraid of that. Thanks for the doc pointer as well.