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.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla