MapControl.MapTapped Ereignis

Definition

Tritt auf, wenn der Benutzer auf mapControl tippt oder mit der linken Maustaste darauf klickt. Eine instance von MapInputEventArgs stellt Daten für dieses Ereignis bereit.

// Register
event_token MapTapped(TypedEventHandler<MapControl, MapInputEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapControl::MapTapped_revoker MapTapped(auto_revoke_t, TypedEventHandler<MapControl, MapInputEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapInputEventArgs> MapTapped;
function onMapTapped(eventArgs) { /* Your code */ }
mapControl.addEventListener("maptapped", onMapTapped);
mapControl.removeEventListener("maptapped", onMapTapped);
- or -
mapControl.onmaptapped = onMapTapped;
Public Custom Event MapTapped As TypedEventHandler(Of MapControl, MapInputEventArgs) 

Ereignistyp

Gilt für:

Weitere Informationen