Skip to content

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)

View source

Summary: Navigates the back.

Parameters

NameTypeDescription
this[IUseNavigation](#The this.
parameter = nullobject?The parameter.

Returns: IUseNavigation -- Chainable host.

Exceptions

TypeCondition
System.ArgumentNullExceptionthis.
System.InvalidOperationExceptionNo 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)

View source

Summary: Navigates backwards.

Parameters

NameTypeDescription
this[IUseHostedNavigation](#The this.
hostName = ""stringName of the host.
parameter = nullobject?The parameter.

Returns: IUseHostedNavigation -- Chainable host.

Exceptions

TypeCondition
System.InvalidOperationExceptionNo navigation host registered, please ensure that the NavigationShell has a Name.