ArcGIS Pro 2.8 API Reference Guide
LegendGroups Property

ArcGIS.Desktop.Mapping Namespace > Layer Class : LegendGroups Property
Gets a read only collection of legend groups. Check the LegendStatus property before accessing this collection.
Syntax
Remarks
This give you access to legend patches.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Layer Class
Layer Members