共用方式為


WebView2.CanGoBack Property

Definition

Returns true if the webview can navigate to a previous page in the navigation history via the GoBack() method. This is equivalent to the CanGoBack. If the underlying CoreWebView2 is not yet initialized, this property is false.

public bool CanGoBack { get; }
[System.ComponentModel.Browsable(false)]
public bool CanGoBack { get; }
member this.CanGoBack : bool
[<System.ComponentModel.Browsable(false)>]
member this.CanGoBack : bool
Public ReadOnly Property CanGoBack As Boolean

Property Value

Attributes

Applies to

See also