ListChangedType Enumeration
Specifies how the list changed.
[Visual Basic] <Serializable> Public Enum ListChangedType [C#] [Serializable] public enum ListChangedType [C++] [Serializable] __value public enum ListChangedType [JScript] public Serializable enum ListChangedType
Remarks
Used by the ListChangedType property of the ListChangedEventArgs class to indicate the way an IBindingList object changes.
Members
| Member name | Description |
|---|---|
| ItemAdded Supported by the .NET Compact Framework. | An item added to the list. ListChangedEventArgs.NewIndex contains the index of the item that was added. |
| ItemChanged Supported by the .NET Compact Framework. | An item changed in the list. ListChangedEventArgs.NewIndex contains the index of the item that was changed. |
| ItemDeleted Supported by the .NET Compact Framework. | An item deleted from the list. ListChangedEventArgs.NewIndex contains the index of the item that was deleted. |
| ItemMoved Supported by the .NET Compact Framework. | 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 Supported by the .NET Compact Framework. | A PropertyDescriptor was added, which changed the schema. |
| PropertyDescriptorChanged Supported by the .NET Compact Framework. | A PropertyDescriptor was changed, which changed the schema. |
| PropertyDescriptorDeleted Supported by the .NET Compact Framework. | A PropertyDescriptor was deleted, which changed the schema. |
| Reset Supported by the .NET Compact Framework. | Much of the list has changed. Any listening controls should refresh all their data from the list. |
Example
For an example of using this class, see Working with DataView Events.
Requirements
Namespace: System.ComponentModel
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System (in System.dll)
See Also
System.ComponentModel Namespace | ListChangedEventArgs | ListChangedEventArgs.ListChangedType | ListChangedEventHandler