Skip to main content
.NET Framework 4.5.2+

CompositeView.ItemsChanged Event

Occurs after changing a Composite View’s CompositeView.Items collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.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