Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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