GetElementsAsFlattenedList Method (GroupElement)
Get the collection of
Element from the group element as a flattened list. Nested groups within child
GroupElement are
not preserved.
Children in a Group Element
// Nested groups within ArcGIS.Desktop.Layouts.GroupElement are not preserved.
var children = groupElement.GetElementsAsFlattenedList();
Target Platforms: Windows 11, Windows 10, Windows 8.1
ArcGIS Pro version: 2.7 or higher.