Поделиться через


NavigationEventArgs Constructor (Object, Uri)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Sub New ( _
    content As Object, _
    uri As Uri _
)
public NavigationEventArgs(
    Object content,
    Uri uri
)

Parameters

Remarks

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 nulla null reference (Nothing in Visual Basic) for the uri parameter, when you later access the NavigationEventArgs.Uri property, it will be an empty Uri.

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.