Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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
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.

#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.

See Also