Occurs after changing a Composite View's CompositeView.Items collection.
public event EventHandler<ViewItemsChangedEventArgs> ItemsChanged
Public Event ItemsChanged As EventHandler(Of ViewItemsChangedEventArgs)
The ItemsChanged event handler receives an argument of the ViewItemsChangedEventArgs type. The following properties provide information specific to this event.
|ChangedType||Specifies whether the ViewItemsChangedEventArgs.Item has been added to a Composite View or removed from it.|
|Item||Specifies the View Item that was added or removed.|
The CompositeView.Items collection is changed when adding or inserting a new View Item, or removing one of existing items. Handle the ItemsChanged event to perform specific actions when changing the collection. Use the handler's ViewItemsChangedEventArgs.Item and ViewItemsChangedEventArgs.ChangedType parameters to specify the View Item and the operation performed.