Class Redirect
Represents a redirection to a different route.
Namespace: Singulink.UI.Navigation
Assembly: Singulink.UI.Navigation.dll
Syntax
public sealed class Redirect
Methods
| Name | Description |
|---|---|
| GoBack() | Navigates back to the previous view. |
| Navigate(ConcreteRoute, string?) | Navigates to the specified route. |
| Navigate(IConcreteRootRoutePart, string?) | Navigates to the specified root route. |
| Navigate(NavigatorRoute) | Navigates to the specified route, including its anchor. |
| Navigate(string) | Navigates to the specified route. |
| NavigatePartial(string?) | Navigates to a partial route that has the same path as the current route but with the specified options. |
| NavigatePartial<TParentViewModel>(ConcretePartialRoute<TParentViewModel>, string?) | Navigates to the specified partial route beneath the parent view model type in the current route. The current route must contain a view with the specified parent view model type otherwise an InvalidOperationException is thrown. |
| NavigatePartial<TParentViewModel>(IConcreteChildRoutePart<TParentViewModel>, string?) | Navigates to the specified child route beneath the parent view model type in the current route. The current route must contain a view with the specified parent view model type otherwise an InvalidOperationException is thrown. |
| NavigateToParent<TParentViewModel>(string?) | Navigates to the parent view in the current route that has the specified view model type. |