WebView.Source Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property Uri ^ Source { Uri ^ get(); void set(Uri ^ value); };
Uri Source();
void Source(Uri value);
public System.Uri Source { get; set; }
var uri = webView.source;
webView.source = uri;
Public Property Source As Uri
<WebView Source="uriString"/>
Property Value
The Uniform Resource Identifier (URI) source of the HTML content to display in the WebView control.
Remarks
The Source property retains its old value during navigation until the navigation is complete. During navigation, you can get the new Uniform Resource Identifier (URI) through the event arguments for the navigation events.