NavigatingCancelEventArgs.IsNavigationInitiator Property

July 28, 2014

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)

public bool IsNavigationInitiator { get; private set; }

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.

In Windows Phone applications, this property enables you to perform different actions depending on whether the navigation is internal to the application or is leaving or returning to the application. For example, you can use it to launch different navigation transition animations depending on the navigation type.

Version Notes

Windows Phone

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft