MapControl.MapRightTapped Ereignis

Definition

Tritt auf, wenn der Benutzer mapControl gedrückt hält oder mit der rechten Maustaste darauf klickt. Eine instance von MapRightTappedEventArgs stellt Daten für dieses Ereignis bereit.

// Register
event_token MapRightTapped(TypedEventHandler<MapControl, MapRightTappedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapControl::MapRightTapped_revoker MapRightTapped(auto_revoke_t, TypedEventHandler<MapControl, MapRightTappedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapRightTappedEventArgs> MapRightTapped;
function onMapRightTapped(eventArgs) { /* Your code */ }
mapControl.addEventListener("maprighttapped", onMapRightTapped);
mapControl.removeEventListener("maprighttapped", onMapRightTapped);
- or -
mapControl.onmaprighttapped = onMapRightTapped;
Public Custom Event MapRightTapped As TypedEventHandler(Of MapControl, MapRightTappedEventArgs) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)

Gilt für:

Weitere Informationen