IsNavigationInitiator Property
Collapse the table of content
Expand the table of content

NavigationEventArgs.IsNavigationInitiator 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 whether the current application is the origin and destination of the navigation.

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

'Declaration
Public Property IsNavigationInitiator As Boolean

Property Value

Type: System.Boolean
true if the navigation starts and ends within the current application; false if the navigation starts or ends at an external location.

Version Notes

Windows Phone

In Windows Phone OS 7.1, the IsNavigationInitiator property enables you to perform different actions depending on whether the navigation is internal to the application, or whether the navigation is leaving or returning to the application. For example, you can use this property to launch different navigation transition animations depending on the navigation type. For more information, see Frame, Page and Navigation Enhancements for Windows Phone.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft