NavigationWindow::Source Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

property Uri^ Source {
	virtual Uri^ get() sealed;
	virtual void set(Uri^ value) sealed;

Property Value

Type: System::Uri^

The URI for the current content, or the content that is currently being navigated to.

See NavigationService::Source.


Uniform resource identifiers (URIs) can be either relative or absolute. For more information, see Pack URIs in WPF.

Identifier field


Metadata properties set to true


The following example shows how to navigate to a uniform resource identifier (URI) by setting the Source property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top