ArcGIS Pro 2.1 API Reference Guide
ShowLegends Property (CIMBaseLayer)

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

Target Platforms:Windows 10, Windows 8.1, Windows 7

See Also

Reference

CIMBaseLayer Class
CIMBaseLayer Members