ArcGIS Pro 2.7 API Reference Guide
UnGroupElement Method (GraphicsLayerExtensions)

ArcGIS.Desktop.Mapping Namespace > GraphicsLayerExtensions Class : UnGroupElement Method
The group element whose elements will be ungrouped
Ungroup the elements contained in 'group'. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public static void UnGroupElement( 
   GraphicsLayer graphicsLayer,
   GroupElement group
)
Public Shared Sub UnGroupElement( _
   ByVal graphicsLayer As GraphicsLayer, _
   ByVal group As GroupElement _
) 

Parameters

graphicsLayer
group
The group element whose elements will be ungrouped
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Value cannot be null: group
elements must belong to graphicsLayer
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GraphicsLayerExtensions Class
GraphicsLayerExtensions Members