Skip to main content

FrameNavigationService Members

The service that provides methods to navigate between Views within a NavigationFrame.

Constructors

Name Description
FrameNavigationService() Initializes a new instance of the FrameNavigationService class.

Fields

Name Description
FrameProperty static Identifies the FrameNavigationService.Frame dependency property.
PrefetchedSourcesProperty static Identifies the FrameNavigationService.PrefetchedSources dependency property.
ShowSplashScreenProperty static Identifies the FrameNavigationService.ShowSplashScreen dependency property.
SourceProperty static Identifies the FrameNavigationService.Source dependency property.
SplashScreenServiceProperty static Identifies the FrameNavigationService.SplashScreenService dependency property.
UnregisterOnUnloadedProperty static Identifies the ServiceBase.UnregisterOnUnloaded dependency property. Inherited from ServiceBase.
ViewLocatorProperty static Identifies the ViewServiceBase.ViewLocator dependency property. Inherited from ViewServiceBase.
ViewTemplateProperty static Identifies the ViewServiceBase.ViewTemplate dependency property. Inherited from ViewServiceBase.
ViewTemplateSelectorProperty static Identifies the ViewServiceBase.ViewTemplateSelector dependency property. Inherited from ViewServiceBase.

Properties

Name Description
ActiveDocument Gets or sets the active document. Inherited from NavigationServiceBase.
CanGoBack Returns whether backward navigation can be performed. Inherited from NavigationServiceBase.
CanGoForward Returns whether forward navigation can be performed. Inherited from NavigationServiceBase.
CanNavigate Gets a value indicating whether a NavigationFrame associated with the current service can navigate. Inherited from NavigationServiceBase.
Current Returns the current ViewModel. Inherited from NavigationServiceBase.
Documents Gets the collection of existing documents. Inherited from NavigationServiceBase.
Frame Gets or sets the Frame to which the current service is associated.
HasAnimatedProperties Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object’s dependency properties. Inherited from Animatable.
PrefetchedSources Gets or sets the collection of the predefined objects to display within the associated frame.
ShowSplashScreen Gets or sets whether this FrameNavigationService should display a splash screen when loading. This is a dependency property.
Source Gets or sets the View, initially displayed by the NavigationFrame, related to this FrameNavigationService.
SplashScreenService Gets or sets a splash screen service associated with this FrameNavigationService. This is a dependency property.
UnregisterOnUnloaded Gets or sets whether to unregister the service when the associated View is unloaded. This is a dependency property. Inherited from ServiceBase.
ViewLocator Specifies the view locator. Inherited from ViewServiceBase.
ViewTemplate Specifies the view template. Inherited from ViewServiceBase.
ViewTemplateSelector Specifies the template selector that chooses a view template based on the passed view model. Inherited from ViewServiceBase.

Methods

Name Description
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the specified HandoffBehavior is used. Inherited from Animatable.
ApplyAnimationClock(DependencyProperty, AnimationClock) Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable.
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the specified HandoffBehavior is used. Inherited from Animatable.
BeginAnimation(DependencyProperty, AnimationTimeline) Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable.
ClearCache() Clears the navigation cache. Inherited from NavigationServiceBase.
ClearNavigationHistory() Clears the navigation history. Inherited from NavigationServiceBase.
Clone() Creates a modifiable clone of this Animatable, making deep copies of this object’s values. When copying this object’s dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values. Inherited from Animatable.
GetAnimationBaseValue(DependencyProperty) Returns the non-animated value of the specified DependencyProperty. Inherited from Animatable.
GoBack() Navigates to the previous View if there is one in the navigation history. Inherited from NavigationServiceBase.
GoBack(Object) Navigates back to the previously selected screen (view). Inherited from NavigationServiceBase.
GoForward() Navigates to the next View if there is one in the navigation history. Inherited from NavigationServiceBase.
GoForward(Object) Navigates forward to the next screen (view). Inherited from NavigationServiceBase.
Navigate(String, Object, Object, Boolean) Navigates to a View with specific parameters. Allows you to skip writing an entry about this navigation to the Frame’s Journal. Inherited from NavigationServiceBase.
Navigate(String, Object, Object, Object, Boolean) Performs navigation to the target View. Inherited from NavigationServiceBase.
Navigate(String, Object, Object) Navigates to a View with specific parameters. Inherited from NavigationServiceBase.
ShouldSerializeStoredWeakReference(DependencyObject) static Specifies whether a dependency object should be serialized. Inherited from Animatable.
UpdateThemeName(FrameworkElement, FrameworkElement) static Inherited from ViewServiceBase.
See Also