UrlLoadingEventArgs.UrlLoadingStrategy 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.
The policy to use when loading links from the webview. Defaults to OpenExternally unless Url has a host matching the app origin, in which case the default becomes OpenInWebView.
This value should not be changed to OpenInWebView for external links unless you can ensure they are fully trusted.
public:
property Microsoft::AspNetCore::Components::WebView::UrlLoadingStrategy UrlLoadingStrategy { Microsoft::AspNetCore::Components::WebView::UrlLoadingStrategy get(); void set(Microsoft::AspNetCore::Components::WebView::UrlLoadingStrategy value); };
public Microsoft.AspNetCore.Components.WebView.UrlLoadingStrategy UrlLoadingStrategy { get; set; }
member this.UrlLoadingStrategy : Microsoft.AspNetCore.Components.WebView.UrlLoadingStrategy with get, set
Public Property UrlLoadingStrategy As UrlLoadingStrategy
Property Value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.