Skip to main content

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

Collection.CollectionChanged Event

Fires when the number or arrangement of items within the collection changes.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public event CollectionChangeEventHandler CollectionChanged

#Event Data

The CollectionChanged event's data class is CollectionChangeEventArgs. The following properties provide information specific to this event:

Property Description
Action Gets an action that specifies how the collection changed.
Element Gets the instance of the collection with the change.

#Remarks

Write a CollectionChanged event handler to perform specific actions each time an item is added to, removed from or moved within the list. The parameter allows you to identify the item and the action performed to implement a proper response.

See Also