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

IActiveViewEvents.ItemAdded Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveViewEvents Interface > IActiveViewEvents.ItemAdded Event
ArcGIS Developer Help

IActiveViewEvents.ItemAdded Event

Fired when an item is added to the view.

[Visual Basic .NET]
Public Event ItemAdded As ItemAddedEventHandler
public event ItemAddedEventHandler ItemAdded
HRESULT ItemAdded(
Item [in]

Item is a parameter of type VARIANT

Product Availability

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


The Map fires the event every time a new layer is added.

The PageLayout fires this event whenever a new element is added to the layout.  Elements include not only graphics but data frames as well.

See Also

IActiveViewEvents Interface