MapControl.HeadingChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque la valeur de la propriété Heading du MapControl change.
// Register
event_token HeadingChanged(TypedEventHandler<MapControl, IInspectable const&> const& handler) const;
// Revoke with event_token
void HeadingChanged(event_token const* cookie) const;
// Revoke with event_revoker
MapControl::HeadingChanged_revoker HeadingChanged(auto_revoke_t, TypedEventHandler<MapControl, IInspectable const&> const& handler) const;
public event TypedEventHandler<MapControl,object> HeadingChanged;
function onHeadingChanged(eventArgs) { /* Your code */ }
mapControl.addEventListener("headingchanged", onHeadingChanged);
mapControl.removeEventListener("headingchanged", onHeadingChanged);
- or -
mapControl.onheadingchanged = onHeadingChanged;
Public Custom Event HeadingChanged As TypedEventHandler(Of MapControl, Object)
Type d'événement
TypedEventHandler<MapControl,IInspectable>
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour