ArcGIS Pro 2.6 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, Windows 7

See Also

Reference

Element Class
Element Members