ArcObjects Library Reference (Carto)  

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(
  VARIANT_BOOL* AutoVisibility
);
[C++]
HRESULT put_AutoVisibility(
  VARIANT_BOOL AutoVisibility
);
[C++]

Parameters

AutoVisibility [out, retval]   AutoVisibility is a parameter of type VARIANT_BOOL AutoVisibility [in]   AutoVisibility is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ILegend2 Interface