ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LegendClass Class / Visible Property

Visible Property (LegendClass)
Gets whether legend class is visible or not.
Syntax
public bool Visible {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.5 or higher.
See Also