ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Element Class / IsExpandedInTOC Property

In This Topic
    IsExpandedInTOC Property (Element)
    In This Topic
    Gets or sets if a group element is expanded in the contents pane.
    Syntax
    public bool IsExpandedInTOC {get; set;}
    Public Property IsExpandedInTOC As Boolean

    Property Value

    Type: Boolean
    Remarks
    Returns true if an element is expanded on in the table of contents.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also