CustomContentState.Replay Method (NavigationService, NavigationMode)

 

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

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

abstract Replay : 
        navigationService:NavigationService *
        mode:NavigationMode -> unit

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: