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(
  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

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