NavigationService.CurrentSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the URI of the content that was last navigated to.
public:
property Uri ^ CurrentSource { Uri ^ get(); };
public Uri CurrentSource { get; }
member this.CurrentSource : Uri
Public ReadOnly Property CurrentSource As Uri
Property Value
A Uri for the content that was last navigated to, if navigated to by using a URI; otherwise, null
.
Remarks
The value of the CurrentSource property is not changed until navigation to a different URI has completed successfully.
CurrentSource can be set with a fragment-only URI.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.