System.ComponentModel.ListChangedType Enumeration

Specifies how the list changed.

Syntax

public enum ListChangedType

Remarks

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

Members

Member NameDescription
ItemAdded

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

ItemChanged

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

ItemDeleted

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

ItemMoved

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

PropertyDescriptorAdded

A System.ComponentModel.PropertyDescriptor was added, which changed the schema.

PropertyDescriptorChanged

A System.ComponentModel.PropertyDescriptor was changed, which changed the schema.

PropertyDescriptorDeleted

A System.ComponentModel.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.

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