CustomContentState.Replay Method (NavigationService, NavigationMode)


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

Called to reapply state to a piece of content when navigation occurs.

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

Public MustOverride Sub Replay (
	navigationService As NavigationService,
	mode As NavigationMode


Type: System.Windows.Navigation.NavigationService

The NavigationService owned by the navigator responsible for the content to which this CustomContentState is being applied.

Type: System.Windows.Navigation.NavigationMode

A NavigationMode that specifies how the content to which the CustomContentState is being applied was navigated to.

Replay is called when an item in navigation history that has an associated CustomContentState object is navigated to.

When deriving from the abstract CustomContentState class, Replay must be overridden, although the override implementation need only call the base Replay method.

.NET Framework
Available since 3.0
Return to top