Compartir a través de


CoreWebView2.NavigationStarting Event

Definition

NavigationStarting is raised when the WebView main frame is requesting permission to navigate to a different URI.

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

Event Type

Examples

Remarks

Redirects raise this event as well, and the navigation id is the same as the original one. You may block corresponding navigations until the event handler returns.

Applies to