Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IBindingList.ListChanged Event

Occurs when the list changes or an item in the list changes.

[Visual Basic]
Event ListChanged As ListChangedEventHandler
[C#]
event ListChangedEventHandler ListChanged;
[C++]
__event ListChangedEventHandler* ListChanged;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type ListChangedEventArgs containing data related to this event. The following ListChangedEventArgs properties provide information specific to this event.

Property Description
ListChangedType Gets the way that the list changed.
NewIndex Gets the new index of the item in the list.
OldIndex Gets the old index of the item in the list.

Remarks

This event is raised only if the SupportsChangeNotification property is true.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IBindingList Interface | IBindingList Members | System.ComponentModel Namespace

Show:
© 2017 Microsoft