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


IMapEvents2.ActiveGraphicsLayerChanged Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapEvents2 Interface > IMapEvents2.ActiveGraphicsLayerChanged Event
ArcGIS Developer Help

IMapEvents2.ActiveGraphicsLayerChanged Event

Fired when the active graphics layer changes.

[Visual Basic .NET]
Public Event ActiveGraphicsLayerChanged As ActiveGraphicsLayerChangedEventHandler
[C#]
public event ActiveGraphicsLayerChangedEventHandler ActiveGraphicsLayerChanged
[C++]
HRESULT ActiveGraphicsLayerChanged(
  IGraphicsLayer* oldGraphicsLayer,
  IGraphicsLayer* newGraphicsLayer
);
[C++]
Parameters
oldGraphicsLayer [in]

oldGraphicsLayer is a parameter of type IGraphicsLayer* newGraphicsLayer [in]
newGraphicsLayer is a parameter of type IGraphicsLayer*

Product Availability

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

See Also

IMapEvents2 Interface