CoreWebView2.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 (such as through fragment navigations or history.pushState
navigations).
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 and SourceChanged events and precedes the HistoryChanged and NavigationCompleted events.