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)

Syntax

Public Enumeration NavigationMode
public enum NavigationMode

Members

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.

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

System.Windows.Navigation Namespace

NavigationService

Page

Frame

Other Resources

In-app navigation for Windows Phone 8