ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElement Interface / IsExpandedInTOC Property

In This Topic
    IsExpandedInTOC Property (IElement)
    In This Topic
    Gets or sets if a group element is expanded in the contents pane.
    Syntax
    bool IsExpandedInTOC {get; set;}
    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.0 or higher.
    See Also