Top "Observablecollection" questions

ObservableCollection is a .NET collection class that sends event notifications when items are added, removed, replaced, moved, or reordered in the collection, or when the entire contents of the collection are replaced.

ObservableCollection not noticing when Item in it changes (even with INotifyPropertyChanged)

Does anyone know why this code doesn't work: public class CollectionViewModel : ViewModelBase { public ObservableCollection<EntityViewModel> ContentList { get { return _…

c# observablecollection inotifypropertychanged
How do I sort an observable collection?

I have a following class : [DataContract] public class Pair<TKey, TValue> : INotifyPropertyChanged, IDisposable { public Pair(TKey key, TValue …

c# .net wpf sorting observablecollection
Sort ObservableCollection<string> through C#

I have below ObservableCollection<string>. I need to sort this alphabetically. private ObservableCollection<string> _animals = new …

c# sorting observablecollection
Notify ObservableCollection when Item changes

I found on this link ObservableCollection not noticing when Item in it changes (even with INotifyPropertyChanged) some techniques to notify …

c# wpf collections observablecollection inotifypropertychanged
Converting observable collection back to regular collection

A function has a parameter of type object. I debugged it to see what type of datatype the other part …

c# observablecollection
How do I update an ObservableCollection via a worker thread?

I've got an ObservableCollection<A> a_collection; The collection contains 'n' items. Each item A looks like this: …

c# wpf multithreading observablecollection
ObservableCollection and Item PropertyChanged

I've seen lots of talk about this question but maybe I'm just too much of a newbie to get it. …

c# observablecollection
Difference between ObservableCollection and BindingList

I want to know the difference between ObservableCollection and BindingList because I've used both to notify for any add/delete …

c# .net wpf observablecollection wpf-4.0