ItemsCollectionChangedEventArgs.OldStartingIndex Property

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public int OldStartingIndex { get; }
Public ReadOnly Property OldStartingIndex As Integer

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