Back to Devexpress

NavigationFrame.CanGoBack Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-navigationframe-96b4d269.md

latest2.2 KB
Original Source

NavigationFrame.CanGoBack Property

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

Namespace : DevExpress.Xpf.WindowsUI

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

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public bool CanGoBack { get; protected set; }
vb
Public Property CanGoBack As Boolean

Property Value

TypeDescription
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

GoBack

GoForward()

CanGoForward

NavigationFrame Class

NavigationFrame Members

DevExpress.Xpf.WindowsUI Namespace