NavigationService.AddBackEntry Method (CustomContentState)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: