Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NavigationService Members

Contains methods, properties, and events to support navigation.

The NavigationService type exposes the following members.

Public method AddBackEntry Adds an entry to back navigation history that contains a CustomContentState object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Static member GetNavigationService Gets a reference to the NavigationService for the navigator whose content contains the specified DependencyObject.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method GoBack Navigates to the most recent entry in back navigation history, if there is one.
Public method GoForward Navigate to the most recent entry in forward navigation history, if there is one.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Navigate Overloaded. Navigate asynchronously to the specified source content.
Public method Refresh Reloads the current content.
Public method RemoveBackEntry Removes the most recent journal entry from back history.
Public method StopLoading Stops further downloading of content for the current navigation request.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property CanGoBack Gets a value that indicates whether there is at least one entry in back navigation history.
Public property CanGoForward Gets a value that indicates whether there is at least one entry in forward navigation history.
Public property Content Gets or sets a reference to the object that contains the current content.
Public property CurrentSource Gets the uniform resource identifier (URI) of the content that was last navigated to.
Public property Source Gets or sets the uniform resource identifier (URI) of the current content, or the URI of new content that is currently being navigated to.

Public event FragmentNavigation Occurs when navigation to a content fragment begins, which occurs immediately, if the desired fragment is in the current content, or after the source XAML content has been loaded, if the desired fragment is in different content.
Public event LoadCompleted Occurs when content that was navigated to has been loaded, parsed, and has begun rendering.
Public event Navigated Occurs when the content that is being navigated to has been found, and is available from the Content property, although it may not have completed loading.
Public event Navigating Occurs when a new navigation is requested.
Public event NavigationFailed Occurs when an error occurs while navigating to the requested content.
Public event NavigationProgress Occurs periodically during a download to provide navigation progress information.
Public event NavigationStopped Occurs when the StopLoading method is called, or when a new navigation is requested while a current navigation is in progress.

Community Additions

© 2015 Microsoft