ViewModelRoutedViewHostMixins.NavigateBack(IUseNavigation, object?) method¶
Defined in
Type: ViewModelRoutedViewHostMixins
Namespace: ReactiveMarbles.ViewModel.Core
Assembly: ReactiveMarbles.ViewModel.Core.dll
Applies to
net8.0, net8.0-android34.0, net8.0-ios17.2, net8.0-windows10.0.19041, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, net8.0-maccatalyst17.2, netstandard2.0, net462
Overloads¶
- 1.
public static IUseNavigation NavigateBack(this IUseNavigation @this, object? parameter = null) - 2.
public static IUseHostedNavigation NavigateBack(this IUseHostedNavigation @this, string hostName = "", object? parameter = null)
1. Overload¶
public static IUseNavigation NavigateBack(this IUseNavigation @this, object? parameter = null)
Summary: Navigates the back.
Parameters
| Name | Type | Description |
|---|---|---|
this | [IUseNavigation](# | The this. |
parameter = null | object? | The parameter. |
Returns: IUseNavigation -- Chainable host.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | this. |
| System.InvalidOperationException | No navigation host registered, please ensure that the NavigationShell has a Name. |
2. Overload¶
public static IUseHostedNavigation NavigateBack(this IUseHostedNavigation @this, string hostName = "", object? parameter = null)
Summary: Navigates backwards.
Parameters
| Name | Type | Description |
|---|---|---|
this | [IUseHostedNavigation](# | The this. |
hostName = "" | string | Name of the host. |
parameter = null | object? | The parameter. |
Returns: IUseHostedNavigation -- Chainable host.
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | No navigation host registered, please ensure that the NavigationShell has a Name. |