Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MapControl.MapRightTapped 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 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

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

Applies to

See also


Feedback

Was this page helpful?