ArcGIS Pro 2.9 API Reference Guide
ShowLegends Property (CIMBaseLayer)

ArcGIS.Core.CIM Namespace > CIMBaseLayer Class : ShowLegends Property
Gets or sets a value indicating whether or not to show legends.
Syntax
public bool ShowLegends {get; set;}
Public Property ShowLegends As Boolean
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

CIMBaseLayer Class
CIMBaseLayer Members