|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGroupLayer Interface > IGroupLayer.Expanded Property (ArcObjects .NET 10.4 SDK) | 
Indicates if the group's entry is expanded in the TOC.
[Visual Basic .NET] Public Property Expanded As Boolean
[C#] public bool Expanded {get; set;}
[C++]
HRESULT get_Expanded(
  VARIANT_BOOL* Expanded
);
[C++]
HRESULT put_Expanded(
  VARIANT_BOOL Expanded
);
[C++]
Parameters Expanded [out, retval] Expanded is a parameter of type VARIANT_BOOL Expanded [in] Expanded is a parameter of type VARIANT_BOOL
Sets whether the GroupLayer is to be shown in expanded or collapsed view in the TOC.