NavigationEventArgs Constructor (Object, Uri)


Initializes a new instance of the NavigationEventArgs class, based on content and URI.

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

Public Sub New ( _
	content As Object, _
	uri As Uri _


Type: System.Object
Initializes the Content property.
Type: System.Uri
Initializes the Uri property.

Version Notes

Silverlight for Windows Phone Silverlight for Windows Phone

In Windows Phone OS 7.1, if you use the NavigationEventArgs(Object, Uri) constructor to create a NavigationEventArgs and pass Nothing for the uri parameter, when you later access the NavigationEventArgs.Uri property, it will be an empty Uri.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

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

Community Additions