Skip to main content

ListBoxItemCollection.ListChanged Event

Occurs after the item collection has been changed.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.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

Changing the list box control item collection as a result of adding, inserting and removing items raises the ListChanged event. The list box control subscribes the ListChanged event and updates itself as needed.

See Also