ArcGIS Pro 2.8 API Reference Guide
LegendStatus Property (Layer)

ArcGIS.Desktop.Mapping Namespace > Layer Class : LegendStatus Property
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 10, Windows 8.1

See Also

Reference

Layer Class
Layer Members