NavigatingCancelEventArgs Constructor (Uri, NavigationMode)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the NavigatingCancelEventArgs class, based on URI and mode.
Namespace: System.Windows.Navigation
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public Sub New ( _
uri As Uri, _
mode As NavigationMode _
)
public NavigatingCancelEventArgs(
Uri uri,
NavigationMode mode
)
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.
Version Information
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.