Jaa


MapControl.MapRightTapped Event

Definition

Occurs when the user presses-and-holds the MapControl or clicks on it using the right mouse button. An instance of MapRightTappedEventArgs provides data for this event.

// 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) 

Event Type

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to

See also