ArcGIS Pro 2.6 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 10, Windows 8.1, Windows 7

See Also

Reference

CIMBaseLayer Class
CIMBaseLayer Members