NavigatingCancelEventArgs Constructor (Uri, NavigationMode, Boolean, Boolean)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the NavigatingCancelEventArgs class, setting all initial property values.
Namespace: System.Windows.Navigation
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public Sub New ( _
uri As Uri, _
mode As NavigationMode, _
isCancelable As Boolean, _
isNavigationInitiator As Boolean _
)
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
Remarks
Version Notes
Silverlight for the desktop
Do not use for a Silverlight for the desktop application.
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.