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


ILayerEvents.VisibilityChanged Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerEvents Interface > ILayerEvents.VisibilityChanged Event
ArcGIS Developer Help

ILayerEvents.VisibilityChanged Event

Occurs when layer visibility changes.

[Visual Basic .NET]
Public Event VisibilityChanged As VisibilityChangedEventHandler
[C#]
public event VisibilityChangedEventHandler VisibilityChanged
[C++]
HRESULT VisibilityChanged(
  VARIANT_BOOL currentState
);
[C++]
Parameters
currentState [in]

currentState is a parameter of type bool

Product Availability

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

See Also

ILayerEvents Interface