Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

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

public enum NavigationMode

Member nameDescription
NewNavigating 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).
BackNavigating to the most recent content in the back navigation history. This value is used when the GoBack method is called.
ForwardNavigating to the most recent content in the forward navigation history. This value is used when the GoForward method is called.
RefreshReloading the current content.
ResetThis 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show: