Sys.CollectionChange Constructor
Creates a CollectionChange object based on the supplied parameters.
var MyCChg = new Sys.CollectionChange(action, newItems, newStartingIndex, oldItems, oldStartingIndex);
Parameters
Parameter |
Description |
---|---|
action |
A NotifyCollectionChangedAction enumeration value. |
newItems |
(Optional) The items that were added when the action is add or replace. |
newStartingIndex |
(Optional) An integer that represents the index where new items have been inserted. |
oldItems |
(Optional) The items that were removed when the action is remove or replace. |
oldStartingIndex |
(Optional) An integer that represents the index where old items have been removed. |