NavigationService.CanGoForward Property

 

Gets a value that indicates whether there is at least one entry in forward navigation history.

Namespace:   System.Windows.Navigation
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool CanGoForward { get; }

Property Value

Type: System.Boolean

true if there is at least one entry in forward navigation history; otherwise, false.

CanGoForward to determine whether there is at least one entry in forward navigation history. This property should be inspected before calling GoForward; if GoForward is called and there are no entries in forward navigation history, an InvalidOperationException is thrown.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: