ObservableCollection<T>.Move Method (Int32, Int32)
.NET Framework (current version)
Moves the item at the specified index to a new location in the collection.
Assembly: System (in System.dll)
Parameters
- oldIndex
-
Type:
System.Int32
The zero-based index specifying the location of the item to be moved.
- newIndex
-
Type:
System.Int32
The zero-based index specifying the new location of the item.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: