UrlLoadingStrategy Enum
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.
URL loading strategy for anchor tags <a> within a Blazor WebView.
Anchor tags with target="_blank" will always open in the default browser and the UrlLoading event won't be called.
public enum class UrlLoadingStrategy
public enum UrlLoadingStrategy
type UrlLoadingStrategy =
Public Enum UrlLoadingStrategy
- Inheritance
-
UrlLoadingStrategy
Fields
CancelLoad | 2 | Cancels the current URL loading attempt. |
OpenExternally | 0 | Allows loading URLs using an app determined by the system. This is the default strategy for URLs with an external host. |
OpenInWebView | 1 | Allows loading URLs within the Blazor WebView. This is the default strategy for URLs with a host matching the app origin. This strategy should not be used for external links unless you can ensure they are fully trusted. |
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin