Method MoveItem
MoveItem(Int32, Int32)
Moves the item at the specified index to a new location in the collection.
Declaration
protected virtual void MoveItem(int oldIndex, int newIndex)
Parameters
Type | Name | Description |
---|---|---|
System. |
oldIndex | The zero-based index specifying the location of the item to be moved. |
System. |
newIndex | The zero-based index specifying the new location of the item. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.13 |
.NET Framework | 100.1 - 100.8 |
.NET 5 | 100.11 |
.NET Core 3.1 | 100.7 - 100.8 |
Xamarin.Android | 100.1 - 100.13 |
Xamarin.iOS | 100.1 - 100.8 |
UWP | 100.1 - 100.15 |