Skip to main content

SchedulerControl.ItemsCollectionChanged Event

Occurs when an item within the Scheduler collection has been modified.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public event ItemsCollectionChangedEventHandler ItemsCollectionChanged

Event Data

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

Property Description
Action Indicates the action performed to change the collection.
Collection Provides access to the modified collection.
ItemType Indicates the items collection type.
NewItems Gets a list of new items within the collection.
NewStartingIndex Indicates a new index of a modified item in the collection.
OldItems Gets a list of old items in the collection.
OldStartingIndex Gets the previous index of a modified item in the collection.

Remarks

The ItemsCollectionChanged event occurs when modifying one of the following collections:

The event argument allows you to access the action performed with the collection (ItemsCollectionChangedEventArgs.Action), the type of the collection (ItemsCollectionChangedEventArgs.ItemType) and the modified items and their indexes.

See Also