MapControl.MapElementPointerEntered Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a pointer moves into the bounding area of a MapElement on a MapControl.
// Register
event_token MapElementPointerEntered(TypedEventHandler<MapControl, MapElementPointerEnteredEventArgs const&> const& handler) const;
// Revoke with event_token
void MapElementPointerEntered(event_token const* cookie) const;
// Revoke with event_revoker
MapControl::MapElementPointerEntered_revoker MapElementPointerEntered(auto_revoke_t, TypedEventHandler<MapControl, MapElementPointerEnteredEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapElementPointerEnteredEventArgs> MapElementPointerEntered;
function onMapElementPointerEntered(eventArgs) { /* Your code */ }
mapControl.addEventListener("mapelementpointerentered", onMapElementPointerEntered);
mapControl.removeEventListener("mapelementpointerentered", onMapElementPointerEntered);
- or -
mapControl.onmapelementpointerentered = onMapElementPointerEntered;
Public Custom Event MapElementPointerEntered As TypedEventHandler(Of MapControl, MapElementPointerEnteredEventArgs)
Event Type
Remarks
Mouse interactions are received, processed, and managed as pointers. The MapElementPointerEntered event is triggered as the user moves their mouse over an element. An instance of MapElementPointerEnteredEventArgs provides data for this event.