NavigationMode Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies the type of navigation that is occurring.
Assembly: System.Windows (in System.Windows.dll)
| Member name | Description | |
|---|---|---|
| New | Navigating to new content. This value is used when the Navigate method is called or when the Source property is set. It is also used for any navigation request that the user initiates from the Web browser (including the back or forward buttons in a Web browser). | |
| Back | Navigating to the most recent content in the back navigation history. This value is used when the GoBack method is called. | |
| Forward | Navigating to the most recent content in the forward navigation history. This value is used when the GoForward method is called. | |
| Refresh | Reloading the current content. | |
| Reset | This is similar to Refresh, but the app should re-evaluate the target Uri of the navigation, potentially clear the backstack and navigate to the new target Uri. |
You use the NavigationMode enumeration when examining the value of the NavigationMode property of the NavigatingCancelEventArgs class.
Any navigation request that the user initiates through a Web browser (including using the back or forward button of the Web browser) is represented as a New type of navigation.