ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / LegendGroups Property

In This Topic
    LegendGroups Property
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also