This document is archived and information here might be outdated.  Recommended version.


IGroupLayer.Expanded Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGroupLayer Interface > IGroupLayer.Expanded Property
ArcGIS Developer Help

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