NavigationManager - GetcuReone/MvvmFrame.Wpf GitHub Wiki

NavigationManager

One of the most important parts of the library. Responsible for the relationship between frame navigation and models. Models associated with the same frame will have the same instance NavigationManager. NavigationManager anager that controls the operation of methods 'Navigate', 'OnLoadPageAsync', 'OnGoPageAsync' and 'OnLeavePageAsync'.

Properties

CanGoBack

Is backward navigation possible

CanGoForward

Is forward navigation possible

Methods

GoBack

Navigation back

GoForward

Navigation forward

Refresh

Page reload

WaitNavigationAsync

Asynchronous waiting for navigation to the page with the view-model

WaitLeaveViewModelAsync

Asynchronously waiting for a page to leave the view-model

PS

Class performance is tested by tests