This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControlEvents2 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to events that occur with interaction to the MapControl.
This is the main events interface for the MapControl. Generally there is no need to explicitly set event handlers, as most development environments will automatically provide event handlers.
Description | ||
---|---|---|
OnAfterDraw | Fires after the Map draws a specified view phase. | |
OnAfterScreenDraw | Fires after the Map contained by the MapControl has finished drawing. | |
OnBeforeScreenDraw | Fires before the Map contained by the MapControl starts to draw. | |
OnDoubleClick | Fires when the user presses and releases the mouse button twice in quick succession. | |
OnExtentUpdated | Fires after the extent (visible bounds) of the MapControl is changed. | |
OnFullExtentUpdated | Fires after the full extent (bounds) of the MapControl has changed. | |
OnKeyDown | Fires after a key is pressed on the keyboard. | |
OnKeyUp | Fires after a pressed key is released. | |
OnMapReplaced | Fires after the Map contained by the MapControl has been replaced. | |
OnMouseDown | Fires when the user presses any mouse button while over the MapControl. | |
OnMouseMove | Fires when the user moves the mouse over the MapControl. | |
OnMouseUp | Fires when the user releases a mouse button while over the MapControl. | |
OnOleDrop | Fires when an OLE drop action occurs on the MapControl. | |
OnSelectionChanged | Fires when the current selection changes. | |
OnViewRefreshed | Fires when the view is refreshed before drawing occurs. |
CoClasses and Classes | Description |
---|---|
MapControl | Esri MapControl |
MapControlEvents2Listener (esriSystemUtility) | Helper coclass to provide IMapControlEvents2 support to the C++ API. |