Skip to main content

Journal.CanGoForward Property

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

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

Declaration

public bool CanGoForward { get; }

Property Value

Type Description
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