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¶
| Name | Summary |
|---|---|
| Navigate | Lets you navigate to the selected page based on it's type. Should be used with [IPageService](# |
| NavigateWithHierarchy | Synchronously adds an element to the navigation stack and navigates current navigation Frame to the page represented by the element. |
| GetNavigationControl | Provides direct access to the control responsible for navigation. |
| SetNavigationControl | Lets you attach the control that represents the [INavigationView](# |
| SetPageService | Lets you attach the service that delivers page instances to [INavigationView](# |
| GoBack | Navigates the NavigationView to the previous journal entry. |
| GoForward | Navigates the NavigationView to the next journal entry. |