共用方式為


IWebView2.ContentLoading Event

Definition

A wrapper around the ContentLoading. The only difference between this event and ContentLoading is the first parameter that's passed to handlers. Handlers of this event will receive the WebView2 control, whereas handlers of ContentLoading will receive the CoreWebView2 instance.

event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs> ContentLoading;
member this.ContentLoading : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs> 
Event ContentLoading As EventHandler(Of CoreWebView2ContentLoadingEventArgs) 

Event Type

Applies to

See also