NavigatingCancelEventArgs Constructor (Uri, NavigationMode, Boolean, Boolean)

Silverlight

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

Version Notes

Silverlight for the desktop

Do not use for a Silverlight for the desktop application.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

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

Community Additions

ADD
Show: