Windows Dev Center

NavigatingCancelEventArgs Constructor (Uri, NavigationMode)

Initializes a new instance of the NavigatingCancelEventArgs class, based on URI and mode.

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

public NavigatingCancelEventArgs(
	Uri uri,
	NavigationMode mode


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

The uri and mode parameters initialize the Uri and NavigationMode properties.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft