Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
WebView.ContentLoading Event
Definition
- Namespace:
- Windows.UI.Xaml.Controls
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.
// Register
event_token ContentLoading(TypedEventHandler<WebView, WebViewContentLoadingEventArgs const&> const& handler) const;
// Revoke with event_token
void ContentLoading(event_token const* cookie) const;
// Revoke with event_revoker
WebView::ContentLoading_revoker ContentLoading(auto_revoke_t, TypedEventHandler<WebView, WebViewContentLoadingEventArgs const&> const& handler) const;
public event TypedEventHandler<WebView,WebViewContentLoadingEventArgs> ContentLoading;
function onContentLoading(eventArgs) { /* Your code */ }
webView.addEventListener("contentloading", onContentLoading);
webView.removeEventListener("contentloading", onContentLoading);
- or -
webView.oncontentloading = onContentLoading;
Public Custom Event ContentLoading As TypedEventHandler(Of WebView, WebViewContentLoadingEventArgs)
<WebView ContentLoading="eventhandler"/>
Event Type
Remarks
WebView navigation events occur in the following order:
- NavigationStarting
- ContentLoading
- DOMContentLoaded
- NavigationCompleted
Similar events occur in the same order for each iframe in the WebView content:
Applies to
Feedback
Was this page helpful?
