ArcGIS Pro 2.7 API Reference Guide
UnGroupElement Method (Layout)

ArcGIS.Desktop.Layouts Namespace > Layout 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 void UnGroupElement( 
   GroupElement group
)
Public Sub UnGroupElement( _
   ByVal group As GroupElement _
) 

Parameters

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 layout 'URI'
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Layout Class
Layout Members