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


ILegend2.AutoVisibility Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend2 Interface > ILegend2.AutoVisibility Property
ArcGIS Developer Help

ILegend2.AutoVisibility Property

Indicates if items should be shown only when associated layers are visible.

[Visual Basic .NET]
Public Property AutoVisibility As Boolean
[C#]
public bool AutoVisibility {get; set;}
[C++]
HRESULT get_AutoVisibility(
  Boolean* AutoVisibility
);
[C++]
HRESULT put_AutoVisibility(
  VARIANT_BOOL AutoVisibility
);
[C++]
Parameters
AutoVisibility [out, retval]

AutoVisibility is a parameter of type bool* AutoVisibility [in]
AutoVisibility is a parameter of type bool

Product Availability

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

See Also

ILegend2 Interface