Skip to main content

Collection.CollectionChanged Event

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v23.2.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

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