ArcGIS Pro 2.7 API Reference Guide
IsExpandedInTOC Property

ArcGIS.Desktop.Layouts Namespace > Element Class : IsExpandedInTOC Property
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 10, Windows 8.1

See Also

Reference

Element Class
Element Members