CustomContentState::Replay Method (NavigationService^, NavigationMode)

 
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.

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

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

public:
virtual void Replay(
	NavigationService^ navigationService,
	NavigationMode mode
) abstract

Parameters

navigationService
Type: System.Windows.Navigation::NavigationService^

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

mode
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
Show: