IGroupLayer.Expanded Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGroupLayer.Expanded Property

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(
  Boolean* Expanded
);
[C++]
HRESULT put_Expanded(
  VARIANT_BOOL Expanded
);
[C++]

Parameters Expanded [out, retval]
Expanded is a parameter of type bool* Expanded [in]
Expanded is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Sets whether the GroupLayer is to be shown in expanded or collapsed view in the TOC.

See Also

IGroupLayer Interface