Bagikan melalui


CoreWebView2NavigationKind Enum

Definition

Specifies the navigation kind of each navigation.

public enum CoreWebView2NavigationKind
type CoreWebView2NavigationKind = 
Public Enum CoreWebView2NavigationKind
Inheritance
CoreWebView2NavigationKind

Fields

Name Value Description
Reload 0

A navigation caused by CoreWebView2.Reload(), location.reload(), the end user using F5 or other UX, or other reload mechanisms to reload the current document without modifying the navigation history.

BackOrForward 1

A navigation back or forward to a different entry in the session navigation history, like via CoreWebView2.Back(), location.back(), the end user pressing Alt+Left or other UX, or other mechanisms to navigate back or forward in the current session navigation history.

NewDocument 2

A navigation to another document, which can be caused by CoreWebView2.Navigate(), window.location.href = ..., or other WebView2 or DOM APIs that navigate to a new URI.

Applies to