EditorButtonCollection.CollectionChanged Event
Occurs when changing the current button collection.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
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, removing buttons or changing button properties. The Action property of the event parameter determines how the collection was changed. The Element property of the parameter refers to a button that raised this event.
The CollectionChanged event supports the .NET infrastructure and you do not need to use it in your code.