Back to Devexpress

DXReadOnlyObservableCollection<T>.CollectionChanged Event

maui-devexpress-dot-maui-dot-mvvm-dot-dxreadonlyobservablecollection-1-a8854551.md

latest2.6 KB
Original Source

DXReadOnlyObservableCollection<T>.CollectionChanged Event

Occurs when the collection changes.

Namespace : DevExpress.Maui.Mvvm

Assembly : DevExpress.Maui.Mvvm.dll

NuGet Package : DevExpress.Maui.Mvvm

Declaration

csharp
public event NotifyCollectionChangedEventHandler CollectionChanged

Event Data

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

PropertyDescription
ActionGets the action that caused the event.
NewItemsGets the list of new items involved in the change.
NewStartingIndexGets the index at which the change occurred.
OldItemsGets the list of items affected by a Replace, Remove, or Move action.
OldStartingIndexGets the index at which a Move, Remove, or Replace action occurred.

See Also

DXReadOnlyObservableCollection<T> Class

DXReadOnlyObservableCollection<T> Members

DevExpress.Maui.Mvvm Namespace