ComboBoxItemCollection.CollectionChanged Event
Occurs when changing the item collection.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
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
The CollectionChanged event occurs when changing the current collection as a result of adding and removing items. The combo box editor subscribes the CollectionChanged event and updates itself as needed.
The event supports the .NET infrastructure and you do not need to use it in your code.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CollectionChanged event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.