Method OnCollectionChanged
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Notify listeners that this View has changed
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
args
NotifyCollectionChangedEventArgsThe NotifyCollectionChangedEventArgs to be passed to the EventHandler
Remarks
CollectionViews (and sub-classes) should take their filter/sort/grouping into account before calling this method to forward CollectionChanged events.
OnCollectionChanged(object, NotifyCollectionChangedEventArgs)
Handle CollectionChanged events.
Calls ProcessCollectionChanged() or posts the change to the Dispatcher to process on the correct thread.
protected void OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
Parameters
sender
objectargs
NotifyCollectionChangedEventArgs
Remarks
User should override ProcessCollectionChanged(NotifyCollectionChangedEventArgs)