NavigationEventArgs.IsNavigationInitiator Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Property IsNavigationInitiator As Boolean
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.

Remarks

Version Notes

Silverlight for the desktop

Do not use for a Silverlight for the desktop application.

Silverlight for Windows Phone Silverlight for 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.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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