Skip to main content

NavigationFrame.CanGoBack Property

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

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

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