NavigationEventArgs Constructor (Object, Uri)
Collapse the table of content
Expand the table of content

NavigationEventArgs Constructor (Object, Uri)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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
)

Parameters

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

Version Notes

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft