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


IDisplay.SuppressEvents Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IDisplay.SuppressEvents Property

Indicates if display object suppresses events.

[Visual Basic .NET]
Public Property SuppressEvents As Boolean
[C#]
public bool SuppressEvents {get; set;}
[C++]
HRESULT get_SuppressEvents(
  VARIANT_BOOL* SuppressEvents
);
[C++]
HRESULT put_SuppressEvents(
  VARIANT_BOOL SuppressEvents
);
[C++]

Parameters SuppressEvents [out, retval] SuppressEvents is a parameter of type VARIANT_BOOL SuppressEvents [in] SuppressEvents is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

Use SuppressEvents to prevent the following events from being fired.

For example, IScreenDisplay::StartDrawing sets SuppressEvents to TRUE and FinishDrawing sets it back to FALSE, this prevents all transform events from firing during the drawing.

SuppressEvents is set to FALSE by default.

See Also

IDisplay Interface