ArcGIS Pro 2.3 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 Property IsExpandedInTOC As Boolean
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 10, Windows 8.1, Windows 7

See Also

Reference

Element Class
Element Members