ArcGIS Pro 3.7 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 ReadOnly Property IsExpanded As Boolean
    public bool IsExpanded {get;}
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also