add_collectionChanged(function(sender, e)) collectionChanged.add(function(sender, e)) remove_collectionChanged(function(sender, e)) collectionChanged.remove(function(sender, e))
The event handler receives an argument of type NotifyLeadCollectionChangedEventArgs containing data related to this event. The following NotifyLeadCollectionChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets the action that caused the event. |
NewItems | Gets the list of new items involved in the change. |
NewStartingIndex | Gets the 0-based index at which the change occurred. |
OldItems | Gets the list of old items involved in the change. |
OldStartingIndex | Gets the 0-based index at which a Move, Remove, or Replace action occurred. |
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |