Udostępnij za pośrednictwem


WebView.FrameNavigationCompleted Event

Definition

Occurs when a frame in the WebView has finished loading its content.

// Register
event_token FrameNavigationCompleted(TypedEventHandler<WebView, WebViewNavigationCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
WebView::FrameNavigationCompleted_revoker FrameNavigationCompleted(auto_revoke_t, TypedEventHandler<WebView, WebViewNavigationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<WebView,WebViewNavigationCompletedEventArgs> FrameNavigationCompleted;
function onFrameNavigationCompleted(eventArgs) { /* Your code */ }
webView.addEventListener("framenavigationcompleted", onFrameNavigationCompleted);
webView.removeEventListener("framenavigationcompleted", onFrameNavigationCompleted);
- or -
webView.onframenavigationcompleted = onFrameNavigationCompleted;
Public Custom Event FrameNavigationCompleted As TypedEventHandler(Of WebView, WebViewNavigationCompletedEventArgs) 
<WebView FrameNavigationCompleted="eventhandler"/>

Event Type

Remarks

WebView navigation events occur in the following order:

Similar events occur in the same order for each iframe in the WebView content:

Applies to