共用方式為


IWebView2.NavigationStarting Event

Definition

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

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

Event Type

Applies to

See also