.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPBindingSource.ListChanged Event

Occurs in one of the following cases: the DataSource property value changed, the data source's element list changed, or individual elements in the data source changed.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll

Declaration

public event ListChangedEventHandler ListChanged
Public Event ListChanged As ListChangedEventHandler

Event Data

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

Property Description
ListChangedType Gets the type of change.
NewIndex Gets the index of the item affected by the change.
OldIndex Gets the old index of an item that has been moved.
PropertyDescriptor Gets the PropertyDescriptor that was added, changed, or deleted.

Remarks

The ListChanged event is not raised when changes occur in a data source that does not implement the IBindingList or INotifyPropertyChanged interface.

Refer to the DataSource article for additional information on data sources and related limitations.

Implements

See Also