ArcGIS Pro 2.7 API Reference Guide
UnSelectElement Method (GraphicsLayerExtensions)

ArcGIS.Desktop.Mapping Namespace > GraphicsLayerExtensions Class : UnSelectElement Method
The selected element to unselect. Cannot be null
Unselect the element within the GraphicsLayer collection. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public static void UnSelectElement( 
   GraphicsLayer graphicsLayer,
   Element element
)
Public Shared Sub UnSelectElement( _
   ByVal graphicsLayer As GraphicsLayer, _
   ByVal element As Element _
) 

Parameters

graphicsLayer
element
The selected element to unselect. Cannot be null
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The map view displaying the graphics layer should be initialized.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GraphicsLayerExtensions Class
GraphicsLayerExtensions Members