Interface ICollectionChangeRouter
Defines methods to route collection change notifications such as add, remove, replace, move, and reset. Used in RouteCollectionChange(object?, NotifyCollectionChangedEventArgs, ICollectionChangeRouter).
public interface ICollectionChangeRouter
Methods
- OnCollectionAdd(object?, IList, int)
Called when items are added to the collection.
- OnCollectionMove(object?, IList, int, int)
Called when items are moved within the collection.
- OnCollectionRemove(object?, IList, int)
Called when items are removed from the collection.
- OnCollectionReplace(object?, IList, IList, int)
Called when items in the collection are replaced.
- OnCollectionReset(object?)
Called when the collection is reset.