MapControl.MapRightTapped Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi ketika pengguna menekan dan menahan MapControl atau mengkliknya menggunakan tombol kanan mouse. Instans MapRightTappedEventArgs menyediakan data untuk peristiwa ini.
// 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)
Jenis Acara
Persyaratan Windows
Rangkaian perangkat |
Windows 10 (diperkenalkan dalam 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v2.0)
|