Delen via


MapControl.MapElementPointerExited Event

Definition

Occurs when a pointer moves out of the bounding area of a MapElement on a MapControl.

// Register
event_token MapElementPointerExited(TypedEventHandler<MapControl, MapElementPointerExitedEventArgs const&> const& handler) const;

// Revoke with event_token
void MapElementPointerExited(event_token const* cookie) const;

// Revoke with event_revoker
MapControl::MapElementPointerExited_revoker MapElementPointerExited(auto_revoke_t, TypedEventHandler<MapControl, MapElementPointerExitedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapElementPointerExitedEventArgs> MapElementPointerExited;
function onMapElementPointerExited(eventArgs) { /* Your code */ }
mapControl.addEventListener("mapelementpointerexited", onMapElementPointerExited);
mapControl.removeEventListener("mapelementpointerexited", onMapElementPointerExited);
- or -
mapControl.onmapelementpointerexited = onMapElementPointerExited;
Public Custom Event MapElementPointerExited As TypedEventHandler(Of MapControl, MapElementPointerExitedEventArgs) 

Event Type

Remarks

Mouse interactions are received, processed, and managed as pointers. The MapElementPointerExited event is triggered as the user moves their mouse out from over an element. An instance of MapElementPointerExitedEventArgs provides data for this event.

Applies to