Skip to main content
A newer version of this page is available. .

NavigationFrame.CanGoBack Property

Gets whether the navigation back within the NavigationFrame is currently possible.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public bool CanGoBack { get; protected set; }

Property Value

Type Description
Boolean

true, if the navigation back within the NavigationFrame is currently possible; otherwise, false.

Remarks

If an application has just launched and a view set as the NavigationFrame’s NavigationFrame.Source is currently displayed, calling the NavigationFrame.GoBack method will do nothing. The CanGoBack property allows you to determine whether there is currently a view to navigate back to. See the NavigationFrame.GoBack method to learn more.

There is also the corresponding property for the NavigationFrame.GoForward method - the NavigationFrame.CanGoForward property.

See Also