ArcGIS Pro 2.7 API Reference Guide
Move Method (Gallery)

ArcGIS.Desktop.Framework.Contracts Namespace > Gallery Class : Move Method
The zero-based index of the item to move.
The zero-based index to move the item to.
Moves the item at the specified index to a new location in the collection.
Syntax
protected void Move( 
   int oldIndex,
   int newIndex
)
Protected Sub Move( _
   ByVal oldIndex As Integer, _
   ByVal newIndex As Integer _
) 

Parameters

oldIndex
The zero-based index of the item to move.
newIndex
The zero-based index to move the item to.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Gallery Class
Gallery Members