Method NavigatePartial
NavigatePartial(string?)
Navigates to a partial route that has the same path as the current route but with the specified options.
Declaration
public static Redirect NavigatePartial(string? anchor)
Parameters
| Type |
Name |
Description |
| string |
anchor |
|
Returns
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.
Declaration
public static Redirect NavigatePartial<TParentViewModel>(IConcreteChildRoutePart<TParentViewModel> childRoutePart, string? anchor = null) where TParentViewModel : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TParentViewModel |
|
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.
Declaration
public static Redirect NavigatePartial<TParentViewModel>(ConcretePartialRoute<TParentViewModel> route, string? anchor = null) where TParentViewModel : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TParentViewModel |
|