ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LegendClass Class / GroupIndex Property

In This Topic
    GroupIndex Property (LegendClass)
    In This Topic
    Gets the group index.
    Syntax
    Public ReadOnly Property GroupIndex As Integer
    public int GroupIndex {get;}
    Remarks
    Refer to Layer.LegendGroups. GroupIndex is an index into that collection to get the legend class's group.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also