Hi,
http://stackoverflow.com/questions/670577/observablecollection-doesnt-support-addrange-method-so-i-get-notified-for-each/851129#851129
I think AddRange is better implemented like so:
public void AddRange(IEnumerable<T> collection)
{
foreach (var i in collection) Items.Add(i);
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
}
It saves you a list copy. Also if you want to micro-optimise you could do adds for ..
http://stackoverflow.com/questions/5798936/inotifypropertychanged-or-inotifycollectionchanged-with-datatable/5798988#5798988
The datagrid would be bound to a list of objects. If you want
the grid to update when individual object properties change, than each
contained object must implement the INotifyPropertyChanged interface.
The INotifyCollectionChanged is an interface that the collection should
implement, and are for notifications of addition and removal events.