Table of Contents

Method OnCollectionChanged

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Notify listeners that this View has changed

protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs args)

Parameters

args NotifyCollectionChangedEventArgs

The 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 object
args NotifyCollectionChangedEventArgs

Remarks