Windows apps
Collapse the table of content
Expand the table of content
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.AddBackEntry Method (CustomContentState)

 

Adds an entry to back navigation history that contains a CustomContentState object.

Namespace:   System.Windows.Navigation
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void AddBackEntry(
	CustomContentState state
)

Parameters

state
Type: System.Windows.Navigation.CustomContentState

A CustomContentState object that represents application-defined state that is associated with a specific piece of content.

Exception Condition
InvalidOperationException

state is null, and a CustomContentState object isn't returned from GetContentState.

AddBackEntry, CustomContentState, and IProvideCustomContentState are used to help remember multiple sets of state for the current content.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft