CoreWebView2Frame.ContentLoading Event

Definition

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.

Applies to