共用方式為


WebView2CompositionControl.Source Property

Definition

The top-level Uri which the WebView is currently displaying (or will display once initialization of its CoreWebView2 is finished). Generally speaking, getting this property is equivalent to getting the Source property and setting this property (to a different value) is equivalent to calling the Navigate(String) method.

public Uri Source { get; set; }
member this.Source : Uri with get, set
Public Property Source As Uri

Property Value

Uri

Implements

Applies to