Export (0) Print
Expand All

NavigationMode Enumeration

Specifies the type of navigation that is occurring.

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

[TypeForwardedFromAttribute("System.Windows.Controls.Navigation, Version=2.0.5.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
public enum NavigationMode

Member nameDescription
Supported by Silverlight for Windows PhoneNewNavigating 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).
Supported by Silverlight for Windows PhoneBackNavigating to the most recent content in the back navigation history. This value is used when the GoBack method is called.
Supported by Silverlight for Windows PhoneForwardNavigating to the most recent content in the forward navigation history. This value is used when the GoForward method is called.
Supported by Silverlight for Windows PhoneRefreshReloading the current content. This value is used when the Refresh method is called.

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft