NavigationFrame.CanGoBack Property

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

Namespace: DevExpress.Xpf.WindowsUI

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

Declaration

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

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