This documentation is archived and is not being maintained.

ListChangedEventArgs Class

Provides data for the ListChanged event.

For a list of all members of this type, see ListChangedEventArgs Members.


[Visual Basic]
Public Class ListChangedEventArgs
   Inherits EventArgs
public class ListChangedEventArgs : EventArgs
public __gc class ListChangedEventArgs : public EventArgs
public class ListChangedEventArgs extends EventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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

When a ListChanged event is fired, a single index for deletion needs to be specified. You can set the newIndex of ListChangedEventArgs to the index you are deleting. If there is only one index in the IBindingList, oldIndex should be set to -1.


For an example on using this class, see Working with DataView Events.


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

ListChangedEventArgs Members | System.ComponentModel Namespace