ArcGIS Pro 2.9 API Reference Guide
SendToBack(GraphicsLayer,IEnumerable<Element>) Method

ArcGIS.Desktop.Mapping Namespace > GraphicsLayerExtensions Class > SendToBack Method : SendToBack(GraphicsLayer,IEnumerable<Element>) Method
The elements to send to the back
Send the elements to the back of their parent's element collection. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static void SendToBack( 
   GraphicsLayer graphicsLayer,
   IEnumerable<Element> elements
)
Public Overloads Shared Sub SendToBack( _
   ByVal graphicsLayer As GraphicsLayer, _
   ByVal elements As IEnumerable(Of Element) _
) 

Parameters

graphicsLayer
elements
The elements to send to the back
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
elements cannot be null or empty
elements must belong to graphicsLayer
element parents must be the same and non-null
Remarks
Refer to CanSendBackward(GraphicsLayer,IEnumerable<Element>) to check whether the elements can be sent back. Element z order can only be changed relative to their parent's element collection. All elements must have the same parent. The bottom element will have a z order of 0 within the element parent's element collection. Check individual element z order with ArcGIS.Desktop.Layouts.Element.GetZOrder.
The map view displaying the graphics layer should be initialized.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GraphicsLayerExtensions Class
GraphicsLayerExtensions Members
Overload List