CompositeView.ItemsChanged Event
Occurs after changing a Composite View’s CompositeView.Items collection.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public event EventHandler<ViewItemsChangedEventArgs> ItemsChanged
#Event Data
The ItemsChanged event's data class is ViewItemsChangedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Changed |
Specifies whether the View |
Item | Specifies the View Item that was added or removed. |
#Remarks
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.