UrlLoadingEventArgs.UrlLoadingStrategy Property

Definition

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