共用方式為


WebView2.SourceChanged Event

Definition

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

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) 
Public Custom Event SourceChanged As EventHandler(Of CoreWebView2SourceChangedEventArgs) 

Event Type

Implements

Applies to