共用方式為


WebView2.SourceChanged Event

Definition

SourceChanged dispatches after the Source property changes. This may happen during a navigation or if otherwise the script in the page changes the URI of the document. This is equivalent to the SourceChanged event.

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

Event Type

Applies to

See also