NavigatingCancelEventArgs.Uri Property

Definition

Gets the uniform resource identifier (URI) for the content being navigated to.

public:
 property Uri ^ Uri { Uri ^ get(); };
public Uri Uri { get; }
member this.Uri : Uri
Public ReadOnly Property Uri As Uri

Property Value

Uri

The Uri for the content being navigated to. If navigating to an object, Uri is null.

Remarks

You can navigate to content using either an uniform resource identifier (URI) or an object. When navigating to an URI, which occurs when calling NavigationService.Navigate and NavigationService.Navigate, Uri contains the URI of the content being navigated to. Additionally, the Content property will be null.

Applies to