ArcObjects Library Reference (Carto)  

ILayerEvents Interface

Provides access to events that occur when layer visibility changes.

Product Availability

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

Members

Description
Event VisibilityChanged Occurs when layer visibility changes.

CoClasses that implement ILayerEvents

CoClasses and Classes Description
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
DimensionLayer A collection of properties for a dimension layer.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
GeoVideoLayer (esriGlobeCore) The georeferenced video layer.
GlobeGraphicsLayer (esriGlobeCore) The Globe Graphics Layer.
GlobeLayer (esriGlobeCore) The cache-only globe layer.
GraphicsLayer3D (esri3DAnalyst) A 3D Graphics Layer.
GraphicsSubLayer Graphic sublayer handed back by the composite graphics layer.
GroupLayer A collection of layers that behaves like a single layer.
ImageServerLayer Image server layer source and display options.
IMSMapLayer A container for the display and manipulation of IMS layers.
IMSSubFeatureLayer A collection of IMS features as a sublayer of an IMSMapLayer.
LayerEventsHelper
LayerEventsListener (esriSystemUtility) Helper coclass to provide ILayerEvents support to the C++ API.
MapServerLayer Provides programmatic access to a map server layer.
MapServerRESTLayer Provides programmatic access to a a layer based on MapServer using REST access.
MapServerRESTSubLayer Provides programmatic access to a MapServer SubLayer.
NALayer (esriNetworkAnalyst) The layer for defining, solving, and viewing network analysis results.
NetworkLayer Esri Network Layer CoClass.
ProcessLayer (esriGeoprocessing) A collection of process layers that behaves like a single layer.
RasterCatalogLayer Raster catalog source and display options.
RasterLayer Raster layer source and display options.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
TinLayer The TIN Layer class.
WMSGroupLayer A container for the display of WMS group layers.
WMSLayer A container for the display of WMS sub layers.
WMSMapLayer A container for the display and manipulation of WMS layers.
WMTSLayer Provides programmatic access to WMTS layer.

Remarks

This interface has an event that is triggered when the visibility of a layer changes. This happens if the layer is turned on (checked) or off (unchecked) in the table of contents, or if the Visible checkbox is checked on or off in the layer properties dialog. This event is not triggered from visibility changes related to the layer minimum or maximum scale range properties.