Assembly: System.Windows.Forms (in system.windows.forms.dll)
/** @event */ public final void add_ListChanged (ListChangedEventHandler value) /** @event */ public final void remove_ListChanged (ListChangedEventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
The ListChanged event occurs when there is a change to the membership or metadata of the underlying list represented by the List property. For example, this event is raised when items are added, removed, or moved, or the DataSource or DataMember properties change. The values of the Sort and Filter properties will persist when this event occurs.
The following code example demonstrates handling the ListChanged event of the BindingSource component to detect when the BindingSource component's underlying list is changed.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.