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


ILegend.AutoVisibility Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILegend.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

ILegend Interface