WebView.FrameContentLoading Event
Definition
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 FrameContentLoading(TypedEventHandler<WebView, WebViewContentLoadingEventArgs const&> const& handler) const;
// Revoke with event_token
void FrameContentLoading(event_token const* cookie) const;
// Revoke with event_revoker
WebView::FrameContentLoading_revoker FrameContentLoading(auto_revoke_t, TypedEventHandler<WebView, WebViewContentLoadingEventArgs const&> const& handler) const;
public event TypedEventHandler<WebView,WebViewContentLoadingEventArgs> FrameContentLoading;
function onFrameContentLoading(eventArgs) { /* Your code */ }
webView.addEventListener("framecontentloading", onFrameContentLoading);
webView.removeEventListener("framecontentloading", onFrameContentLoading);
- or -
webView.onframecontentloading = onFrameContentLoading;
Public Custom Event FrameContentLoading As TypedEventHandler(Of WebView, WebViewContentLoadingEventArgs)
<WebView FrameContentLoading="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:
- FrameNavigationStarting
- FrameContentLoading
- FrameDOMContentLoaded
- FrameNavigationCompleted