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

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

ArcGIS Pro version: 3 or higher.
See Also