Compartir a través de


NavigationService.Source Property

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

Gets or sets the uniform resource identifier (URI) of the current content or the content that is being navigated to.

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

Syntax

'Declaration
Public Property Source As Uri
public Uri Source { get; set; }

Property Value

Type: System.Uri
A value that represents the URI of the current content or the content that is being navigated to.

Remarks

When you set the Source property to a value that is different from the content being displayed, the frame navigates to the new content.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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