Selasa, 15 Maret 2011

[WPF] Binding to an asynchronous collection

As you may have noticed, it is not possible to modify the contents of an ObservableCollection on a separate thread if a view is bound to this collection : the CollectionView raises a NotSupportedException : This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher threadTo illustrate this, let’s take a simple example : a ListBox bound

Tidak ada komentar:

Posting Komentar