ListChangedType Enumeration

 

Specifies how the list changed.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public enum ListChangedType

Member nameDescription
ItemAdded

An item added to the list. NewIndex contains the index of the item that was added.

ItemChanged

An item changed in the list. NewIndex contains the index of the item that was changed.

ItemDeleted

An item deleted from the list. NewIndex contains the index of the item that was deleted.

ItemMoved

An item moved within the list. OldIndex contains the previous index for the item, whereas NewIndex contains the new index for the item.

PropertyDescriptorAdded

A PropertyDescriptor was added, which changed the schema.

PropertyDescriptorChanged

A PropertyDescriptor was changed, which changed the schema.

PropertyDescriptorDeleted

A PropertyDescriptor was deleted, which changed the schema.

Reset

Much of the list has changed. Any listening controls should refresh all their data from the list.

Used by the ListChangedType property of the ListChangedEventArgs class to indicate the way an IBindingList object changes.

For an example of using this class, see Handling DataView Events.

.NET Framework
Available since 1.1
Return to top
Show: