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


IARControlEvents Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARControlEvents Interface
ArcGIS Developer Help

IARControlEvents Interface

Provides access to events that occur with interaction to the control.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

IARControlEvents is the main events interface for the ArcReaderControl. Generally there is no need to explicitly set event handlers, as most development environments will automatically provide event handlers. These events allow you to programmatically listen out for specific things happening inside of the ArcReaderControl such as the mouse being pressed down, or the CurrentView display being refreshed.

Members

Name Description
Method OnAction Fires when an action takes place.
Method OnAfterScreenDraw Fires after the current map or page layout view redraws.
Method OnBeforeScreenDraw Fires before the current map or page layout view redraws.
Method OnCurrentViewChanged Fires when the current view type is changed.
Method OnDocumentLoaded Fires when a document is loaded into the control.
Method OnDocumentUnloaded Fires when a document is unloaded from the control.
Method OnDoubleClick Fires when the user presses and releases any mouse button twice in quick succession, while over the current map or page layout view.
Method OnFocusARMapChanged Fires when the current focus map is changed to a new map.
Method OnKeyDown Fires after a key is pressed on the keyboard whilst the current map or page layout view has focus.
Method OnKeyUp Fires after a pressed key is released on the keyboard whilst the current map or page layout view has focus.
Method OnMouseDown Fires when the user presses any mouse button while over the current map or page layout view.
Method OnMouseMove Fires when the user moves the mouse pointer over the current map or page layout view.
Method OnMouseUp Fires when the user releases any mouse button while over the current map or page layout view.

Classes that implement IARControlEvents

Classes Description
ARControlEventsListener (esriSystemUtility) Helper coclass to provide IARControlEvents support to the C++ API.
ArcReaderControl Esri ArcReaderControl