Skip to content

INavigationService interface

Defined in

Namespace: CrissCross.WPF.UI Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.INavigationService Modifiers: public abstract

Summary

Represents a contract with a FrameworkElement that contains INavigationView. Through defined IPageService service allows you to use the Dependency Injection pattern in navigation.

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Methods

NameSummary
NavigateLets you navigate to the selected page based on it's type. Should be used with [IPageService](#
NavigateWithHierarchySynchronously adds an element to the navigation stack and navigates current navigation Frame to the page represented by the element.
GetNavigationControlProvides direct access to the control responsible for navigation.
SetNavigationControlLets you attach the control that represents the [INavigationView](#
SetPageServiceLets you attach the service that delivers page instances to [INavigationView](#
GoBackNavigates the NavigationView to the previous journal entry.
GoForwardNavigates the NavigationView to the next journal entry.

Extension members