NavigatingCancelEventArgs.NavigationMode Property

 

Gets a NavigationMode value that indicates the type of navigation that is occurring.

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

public NavigationMode NavigationMode { get; }

Property Value

Type: System.Windows.Navigation.NavigationMode

A NavigationMode value that indicates the type of navigation that is occurring.

The types of navigation that can occur are:

  • Navigating to new content (New).

  • Navigating to the previous item in back navigation history (Back).

  • Navigating to the next item in forward navigation history (Forward).

  • Refreshing existing content (Refresh).

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: