NotifyCollectionChangedEventArgs.NewStartingIndex Property

May 11, 2014

Gets the index at which the change occurred.

Namespace:  System.Collections.Specialized
Assembly:  System (in System.dll)

public int NewStartingIndex { get; }

Property Value

Type: System.Int32
The index at which the change occurred.

NewStartingIndex will contain the following depending on the Action being reported in the event data:

Action

Add contains:

Add

The index of the newly added item.

Remove

-1

Replace

The index of the replaced item.

Reset

-1

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft