ArcGIS Pro 3.4 API Reference Guide
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.

In This Topic
    Move Method (Gallery)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also