AddBackEntry Method

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


Type: System.Windows.Navigation.CustomContentState

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

Exception Condition

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
© 2015 Microsoft