Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NavigationService Members

Contains methods, properties, and events to support navigation. This class cannot be inherited.

The following tables list the members exposed by the NavigationService type.

  Name Description
Public property CanGoBack Gets whether there is at least one entry in back navigation history.
Public property CanGoForward Gets 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.
Top

(see also Protected Methods )
  Name Description
Public method AddBackEntry Adds an entry to back navigation history that contains a CustomContentState object.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetNavigationService Gets the NavigationService object for the navigator (NavigationWindow, Frame) 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.
Public method Navigate Overloaded. Navigate asynchronously to the specified source content.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
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)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
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 is raised 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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft