ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / GraphicsLayerExtensions Class / CanSendBackward Method / CanSendBackward(GraphicsLayer,IEnumerable<Element>) Method
The elements to check

In This Topic
    CanSendBackward(GraphicsLayer,IEnumerable<Element>) Method
    In This Topic
    Checks whether the given elements can be moved back within their parent's element collection. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public static bool CanSendBackward( 
       GraphicsLayer graphicsLayer,
       IEnumerable<Element> elements
    )
    Public Overloads Shared Function CanSendBackward( _
       ByVal graphicsLayer As GraphicsLayer, _
       ByVal elements As IEnumerable(Of Element) _
    ) As Boolean

    Parameters

    graphicsLayer
    elements
    The elements to check

    Return Value

    True if the elements can be moved back.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    elements cannot be null or empty
    Remarks
    Element z order is relative to the element collection within their parent. The bottom element has a z order of 0. The top element has a z order of N - 1. All elements must have the same parent or false is returned. If any one of the elements is already at the bottom of their parent's element collection, false is returned. False can also be returned if any of the elements' z order cannot be checked (i.e. an element is not a graphic element, a group element, does not belong to the graphics layer, etc.).
    The map view displaying the graphics layer should be initialized.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also