NavigationService.GoForward Method
Silverlight
Navigates to the most recent entry in the forward navigation history, or throws an exception if no entry exists in forward navigation.
Namespace: System.Windows.Navigation
Assembly: System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | There are no entries in the forward navigation history. |
Before calling the GoForward method, check the value of the CanGoForward property to determine if an entry exists in the forward navigation history.
The following example shows buttons within a Silverlight page that allow forward and back navigation. The page uses the NavigationService property of the Page class to access the navigation service used by the hosting frame.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.