NavigatingCancelEventArgs.NavigationMode Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

Syntax

Public Property NavigationMode As NavigationMode
public NavigationMode NavigationMode { get; private set; }

Property Value

Type: System.Windows.Navigation..::.NavigationMode
A value that indicates the type of navigation (Back, Forward, or New) that is occurring.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

NavigatingCancelEventArgs Class

System.Windows.Navigation Namespace

OnNavigatingFrom

NavigationService

Page

Frame

Other Resources

In-app navigation for Windows Phone 8