Class RoutedViewModel
Represents a view model that can be navigated to with a parameterless route.
Namespace: Singulink.UI.Navigation
Assembly: Singulink.UI.Navigation.dll
Syntax
public abstract class RoutedViewModel : IRoutedViewModel, IRoutedViewModelBase
Methods
Name | Description |
---|---|
OnNavigatedFrom() | Invoked when the view model is navigated away from. |
OnNavigatedToAsync(INavigator, NavigationArgs) | Invoked when the view model is navigated to. |
OnNavigatingFromAsync(INavigator, NavigatingArgs) | Invoked when the view model is being navigated away from and allows the navigation to be cancelled. |