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

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

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