Method NavigateToParent
NavigateToParent<TParentViewModel>(string?)
Navigates to the parent view in the current route that has the specified view model type.
Declaration
public static Redirect NavigateToParent<TParentViewModel>(string? anchor = null) where TParentViewModel : class
Parameters
| Type | Name | Description |
|---|---|---|
| string | anchor |
Returns
| Type | Description |
|---|---|
| Redirect |
Type Parameters
| Name | Description |
|---|---|
| TParentViewModel |