Show / Hide Table of Contents

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.Int32 oldIndex

The zero-based index specifying the location of the item to be moved.

System.Int32 newIndex

The zero-based index specifying the new location of the item.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.13
.NET Framework100.1 - 100.8
.NET 5100.11
.NET Core 3.1100.7 - 100.8
Xamarin.Android100.1 - 100.13
Xamarin.iOS100.1 - 100.8
UWP100.1 - 100.15
In This Article
Back to top Copyright © 2022 Esri.