ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / IsExpanded Property

In This Topic
    IsExpanded Property (Layer)
    In This Topic
    Gets whether the layer is expanded or collapsed on the TOC.
    Syntax
    public bool IsExpanded {get;}
    Public ReadOnly Property IsExpanded As Boolean
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also