Back to Devexpress

Journal.CanGoForward Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-navigation-dot-journal-bd61318d.md

latest2.8 KB
Original Source

Journal.CanGoForward Property

Gets whether a NavigationFrame associated with the current Journal can navigate forward.

Namespace : DevExpress.Xpf.WindowsUI.Navigation

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

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public bool CanGoForward { get; }
vb
Public ReadOnly Property CanGoForward As Boolean

Property Value

TypeDescription
Boolean

true, if a NavigationFrame associated with the current Journal can navigate forward; otherwise, false.

|

Remarks

Whenever an end-user navigates back in a WindowsUI application, all previous application screens (Views), starting from the initial View, are placed in the JournalEntry objects and stored within the Journal.ForwardStack collection. You can sequentially navigate forward to these Views via the Journal.GoForward method. The CanGoForward property specifies the availability of this method and returns true if the ForwardStack collection is not empty. Each time forward navigation occurs, the last Journal.ForwardStack collection item is moved to the Journal.BackStack collection.

To navigate back, use the Journal.GoBack or Journal.GoHome methods.

See Also

GoBack

GoHome

CanGoBack

Journal

Navigation

Journal Class

Journal Members

DevExpress.Xpf.WindowsUI.Navigation Namespace