ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / GraphicsLayerExtensions Class / SendToBack Method / SendToBack(GraphicsLayer,Element) Method
The element to send to the back
Version

SendToBack(GraphicsLayer,Element) Method
Send the element to the back of its parent's element collection. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static void SendToBack( 
   GraphicsLayer graphicsLayer,
   Element element
)

Parameters

graphicsLayer
element
The element to send to the back
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Value cannot be null: element
elements must belong to graphicsLayer
Remarks
Refer to CanSendBackward(GraphicsLayer,Element) to check whether an element can be sent back. Element z order can only be changed relative to its parent's element collection. The bottom element will have a z order of 0 within the element parent's element collection. Check z order with ArcGIS.Desktop.Layouts.Element.ZOrder.
The map view displaying the graphics layer should be initialized.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.0 or higher.
See Also