NavigatingCancelEventArgs Constructor (Uri, NavigationMode, Boolean, Boolean)

NavigatingCancelEventArgs Constructor (Uri, NavigationMode, Boolean, Boolean)

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

Initializes a new instance of the NavigatingCancelEventArgs class, setting all initial property values.

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

public NavigatingCancelEventArgs(
	Uri uri,
	NavigationMode mode,
	bool isCancelable,
	bool isNavigationInitiator
)

Parameters

uri
Type: System.Uri
The uniform resource identifier (URI) for the content that is being navigated to.
mode
Type: System.Windows.Navigation.NavigationMode
A value that indicates the type of navigation that is occurring.
isCancelable
Type: System.Boolean
isNavigationInitiator
Type: System.Boolean

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2016 Microsoft