Show / Hide Table of Contents

Method MoveItem

MoveItem(Int32, Int32)

Move the item at the old index to the new index within the collection.

Declaration
protected override void MoveItem(int oldIndex, int newIndex)
Parameters
Type Name Description
Int32 oldIndex

Old index of the item to be moved

Int32 newIndex

New index at which the item should be moved

Overrides
System.Collections.ObjectModel.ObservableCollection<System.Object>.MoveItem(System.Int32, System.Int32)

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 100.15
In This Article
Back to top Copyright © 2022 Esri.