Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ItemsCollectionChangedEventArgs.OldStartingIndex Property

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.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