.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CompositeView.ItemsChanged Event

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public event EventHandler<ViewItemsChangedEventArgs> ItemsChanged
Public Event ItemsChanged As EventHandler(Of ViewItemsChangedEventArgs)
public event EventHandler<ViewItemsChangedEventArgs> ItemsChanged
Public Event ItemsChanged As EventHandler(Of ViewItemsChangedEventArgs)
public event EventHandler<ViewItemsChangedEventArgs> ItemsChanged
Public Event ItemsChanged As EventHandler(Of ViewItemsChangedEventArgs)

Event Data

The ItemsChanged event handler receives an argument of the ViewItemsChangedEventArgs type. 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