System.ComponentModel.ListChangedEventArgs Class

Provides data for the IBindingList.ListChanged event.

See Also: ListChangedEventArgs Members

Syntax

public class ListChangedEventArgs : EventArgs

Remarks

A IBindingList.ListChanged event is raised when the data in an System.ComponentModel.IBindingList changes.

The ListChangedEventArgs.NewIndex property indicates the index of the item that was added, changed, or deleted. If an item was moved, the ListChangedEventArgs.NewIndex property indicates the new location of the item and the ListChangedEventArgs.OldIndex property indicates the old location.

If only one item is affected by a change, the ListChangedEventArgs.OldIndex property value is -1.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0