NavigationService.CurrentSource Property

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

Gets the uniform resource identifier (URI) of the content that is currently displayed.

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

Syntax

Public Property CurrentSource As Uri
public Uri CurrentSource { get; internal set; }

Property Value

Type: System..::.Uri
A value that represents the URI of content that is currently displayed.

Remarks

The value of the CurrentSource property does not change until navigation to a new URI has completed.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

NavigationService Class

System.Windows.Navigation Namespace

Other Resources

In-app navigation for Windows Phone 8