Skip to main content

ItemsCollectionChangedEventArgs.OldStartingIndex Property

Gets the previous index of a modified item in the collection.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public int OldStartingIndex { get; }

Property Value

Type Description
Int32

An integer that is the old starting index.

Remarks

Depending on the ItemsCollectionChangedEventArgs.Action property, the OldStartingIndex property returns the following values:

  • NotifyCollectionChangedAction.Remove - an index of a removed item;
  • NotifyCollectionChangedAction.Replace - an index of a substituted item;
  • NotifyCollectionChangedAction.Move - an old moved item index;
  • NotifyCollectionChangedAction.Add - null.
See Also