NavigationMode Enumeration

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:
© 2015 Microsoft