CoreWebView2Frame.ContentLoading 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.
ContentLoading is raised before any content is loaded, including scripts added with AddScriptToExecuteOnDocumentCreatedAsync(String). ContentLoading is not raised if a same page navigation occurs.
public event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs> ContentLoading;
member this.ContentLoading : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs>
Public Custom Event ContentLoading As EventHandler(Of CoreWebView2ContentLoadingEventArgs)
Event Type
Remarks
This operation follows the NavigationStarting event and precedes the DOMContentLoaded and NavigationCompleted events.