ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / LegendStatus Property

In This Topic
    LegendStatus Property (Layer)
    In This Topic
    Gets the status of the layer's legend.
    Syntax
    public virtual LegendStatus LegendStatus {get;}
    Public Overridable ReadOnly Property LegendStatus As LegendStatus
    Remarks
    A layer's legend is loaded once the layer is expanded in the TOC, or LoadLegend is called.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also