Back to Devexpress

SchedulerControl.ItemsCollectionChanged Event

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-e2431c15.md

latest3.0 KB
Original Source

SchedulerControl.ItemsCollectionChanged Event

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

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public event ItemsCollectionChangedEventHandler ItemsCollectionChanged
vb
Public Event ItemsCollectionChanged As ItemsCollectionChangedEventHandler

Event Data

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

PropertyDescription
ActionIndicates the action performed to change the collection.
CollectionProvides access to the modified collection.
ItemTypeIndicates the items collection type.
NewItemsGets a list of new items within the collection.
NewStartingIndexIndicates a new index of a modified item in the collection.
OldItemsGets a list of old items in the collection.
OldStartingIndexGets 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

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace