Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 NavigationEventArgs(
	Object content,
	Uri 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 null 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

© 2015 Microsoft