ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElementContainer Interface / MoveElement Method
The element name.
The index to move the element to.

    MoveElement Method
    Moves the element specified by name to the new index.
    Syntax
    void MoveElement( 
       string elementName,
       int newIndex
    )

    Parameters

    elementName
    The element name.
    newIndex
    The index to move the element to.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    ArcGIS Pro version: 3.0 or higher.
    See Also