Visual Basic (Declaration) | |
---|---|
Public Event CollectionChanged As CollectionChangeEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As NotifyCollection Dim handler As CollectionChangeEventHandler AddHandler instance.CollectionChanged, handler |
C# | |
---|---|
public event CollectionChangeEventHandler CollectionChanged |
The event handler receives an argument of type CollectionChangeEventArgs containing data related to this event. The following CollectionChangeEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | |
Element |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8