Skip to content

WebView2Wpf.CanGoBack property

Defined in

Type: WebView2Wpf Namespace: CrissCross.WPF Assembly: CrissCross.WPF.WebView2.dll

Applies to

net10.0-windows7.0, net9.0-windows7.0, net8.0-windows7.0, net481

Attributes: [Browsable(false)]

public bool CanGoBack { get; }

View source

Summary: Gets a value indicating whether this instance can go back. if the WebView can navigate to a previous page in the navigation history. Wrapper around the Microsoft.Web.WebView2.Core.CoreWebView2.CanGoBack property of Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2. If Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2 isn't initialized yet then returns false.

Returns: bool

Value: true if this instance can go back; otherwise, false.