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


IDisplayEvents.DisplayInvalidated Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayEvents Interface > IDisplayEvents.DisplayInvalidated Event
ArcGIS Developer Help

IDisplayEvents.DisplayInvalidated Event

Notifies clients when display is invalidated.

[Visual Basic .NET]
Public Event DisplayInvalidated As DisplayInvalidatedEventHandler
[C#]
public event DisplayInvalidatedEventHandler DisplayInvalidated
[C++]
HRESULT DisplayInvalidated(
  IDisplay* Display,
  IEnvelope* rect,
  VARIANT_BOOL erase,
  short cacheID
);
[C++]
Parameters
Display [in]

Display is a parameter of type IDisplay* rect [in]
rect is a parameter of type IEnvelope* erase
erase is a parameter of type bool cacheID
cacheID is a parameter of type short

Product Availability

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

Remarks

IScreenDisplay::Invalidate fires this event to notify all clients a display has been invalidated.  The display, the area invalidated, the erase setting, and the cacheID are all returned to clients listening to this event. 

The Map object is one client that listens for this event and it may in turn fire the IActiveViewEvenets::ViewRefreshed event.

See Also

IDisplayEvents Interface