constructor(action: DataChangeAction, oldItem: any, newItem: any, itemIndex: any): DataChangeEventArgs
Initializes a new instance of the DataChangeEventArgs class.
Type of action that caused the event to fire.
Original item that was removed or changed.
New item that was added or changed.
Index of the item.
Gets an index of the item affected by the change in the itemsSource array, depending on the action: * Remove: the removed item index * Add: the added item index * Change: the changed item index
Gets an item with changes, depending on the action: * Remove: a null value. * Add: the new added item * Change: the cloned item with modifications
Gets an existing item affected by the change, depending on the action: * Remove: the removed item from the itemsSource array. * Add: a null value. * Change: the original item from the itemsSource array (not modified, the cloned item with the modifications is in the newItem property).
Provides data for the dataChanged event.