ListChangedType Enum

Definition

Specifies how the list changed.

public enum class ListChangedType
public enum ListChangedType
type ListChangedType = 
Public Enum ListChangedType
Inheritance
ListChangedType

Fields

ItemAdded 1

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

ItemChanged 4

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

ItemDeleted 2

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

ItemMoved 3

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

PropertyDescriptorAdded 5

A PropertyDescriptor was added, which changed the schema.

PropertyDescriptorChanged 7

A PropertyDescriptor was changed, which changed the schema.

PropertyDescriptorDeleted 6

A PropertyDescriptor was deleted, which changed the schema.

Reset 0

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

Examples

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

Remarks

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

Applies to

See also