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

LegendStatus Property (Layer)
Gets the status of the layer's legend.
Syntax
public virtual LegendStatus LegendStatus {get;}
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