Share via


IWebViewControl.NavigationCompleted Événement

Définition

Se produit lorsque le IWebViewControl a terminé le chargement du contenu actuel ou si la navigation a échoué.

// Register
event_token NavigationCompleted(TypedEventHandler<IWebViewControl, WebViewControlNavigationCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
IWebViewControl::NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlNavigationCompletedEventArgs const&> const& handler) const;
event TypedEventHandler<IWebViewControl,WebViewControlNavigationCompletedEventArgs> NavigationCompleted;
function onNavigationCompleted(eventArgs) { /* Your code */ }
iWebViewControl.addEventListener("navigationcompleted", onNavigationCompleted);
iWebViewControl.removeEventListener("navigationcompleted", onNavigationCompleted);
- or -
iWebViewControl.onnavigationcompleted = onNavigationCompleted;
Event NavigationCompleted As TypedEventHandler(Of IWebViewControl, WebViewControlNavigationCompletedEventArgs) 

Type d'événement

Remarques

Les événements de navigation WebView se produisent dans l’ordre suivant :

Des événements similaires se produisent dans le même ordre pour chaque iframe dans le contenu WebView :

S’applique à