Skip to end of metadata
Go to start of metadata

Remarks

The NavigationEventArgs class provides data for the OnNavigatedTo and OnNavigatedFrom methods, and handlers of the Navigated, NavigationCancelledIsLoadingChanged and NavigationStopped events. Through these methods and event handlers, you can examine the properties about the current navigation request.

Example

The following example shows how to handle the Navigated event of the UXFrame, and use the NavigationEventArgs object to access the event data.

 

C#

public sealed class NavigationEventArgs : ISRoutedEventArgs

The following table summarizes the members exposed in this class.

BaseEventArgsGets the original NavigationEventArgs raised by native navigation system.
ContentGets the root node of the target page's content.
ExtraDataGets the optional data Object that was passed when navigation started.
UriGets the uniform resource identifier (URI) of the target page.

public NavigationEventArgs BaseEventArgs { get; }

Gets the original NavigationEventArgs raised by native navigation system.

public object Content { get; }

Gets the root node of the target page's content.

public object ExtraData { get; }

Gets the optional data Object that was passed when navigation started.

public Uri Uri { get; }

Gets the uniform resource identifier (URI) of the target page.

  • No labels