Skip to main content
All docs
V26.1
  • .NET Framework 4.6.2+

    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.v26.1.dll

    Declaration

    public event ListChangedEventHandler ListChanged

    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.

    See Also