Represents an entry in either back or forward navigation history.
Assembly: PresentationFramework (in PresentationFramework.dll)
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of theclass.
Gets or sets the CustomContentState object that is associated with this journal entry.
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
Gets or sets the name of the journal entry.
Gets or sets the URI of the content that was navigated to.
Gets or sets a value that indicates whether the content of a journal entry is either retained or re-created when navigated to in navigation history.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Returns the KeepAlive attached property of the journal entry for the specified element.
Gets the Name attached property of the journal entry for the specified element.
Called when this object is serialized.
Re-evaluates the effective value for the specified dependency property(Inherited from DependencyObject.)
Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)
Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.)
Sets the KeepAlive attached property of the specified element.
Sets the Name attached property of the specified element.
Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.)
Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.(Inherited from DependencyObject.)
Returns a string that represents the current object.(Inherited from Object.)
Windows Presentation Foundation (WPF) implements a navigation history service that stores one entry for each piece of content that has been previously navigated to, just like navigation history in Microsoft Internet Explorer. Navigation history comprises two stacks, one that remembers back navigation history, and one that remembers forward navigation history.
An entry for the current item is added to back navigation history when a forward navigation occurs. This occurs in the following situations:
Likewise, an entry for the current item is added to forward navigation history before a back navigation occurs, which happens when:
Each entry in back and forward navigation history is an instance of theclass.
You can retrieve all the NavigationWindow.BackStack or Frame.BackStack properties. For forward navigation history, you can retrieve all the objects by enumerating the NavigationWindow.ForwardStack or Frame.ForwardStack properties.objects in back navigation history by enumerating the
You cannot add CustomContentState objects to back navigation history by calling the AddBackEntry method (AddBackEntry, AddBackEntry, AddBackEntry); NavigationService adds the CustomContentState object to an internally-created object, which is then added to the back navigation history.objects to navigation history, however, because you can neither instantiate nor derive from , and because no type implements a member to do so. However, you can add custom
Available since 3.0
Windows Phone Silverlight
Available since 7.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.