RepositoryItemLookUpEdit.ListChanged Event
Occurs after a record(s) in the RepositoryItemLookUpEditBase.DataSource has been changed.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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 raised as a result of adding, inserting and removing records from the editor’s data source specified by the RepositoryItemLookUpEditBase.DataSource property. The editor subscribes to the ListChanged event and updates itself as needed.
The editor’s LookUpEdit.ListChanged event is equivalent to the current event.