Skip to content

NavigationShell.Navigate(string?, object?) method

Defined in

Type: NavigationShell Namespace: ReactiveMarbles.ViewModel.MAUI Assembly: ReactiveMarbles.ViewModel.MAUI.dll

Applies to

net8.0-android34.0, net8.0-ios17.2, net8.0-windows10.0.19041, net8.0-maccatalyst17.2

Overloads

  • 1. public void Navigate<T>(string? contract = null, object? parameter = null) where T : class, IRxNavBase
  • 2. public void Navigate(IRxNavBase viewModel, object? parameter = null)

1. Overload

public void Navigate<T>(string? contract = null, object? parameter = null) where T : class, IRxNavBase

View source

Summary: Navigates the ViewModel contract.

Type parameters

NameDescription
TThe Type.

Parameters

NameTypeDescription
contract = nullstring?The contract.
parameter = nullobject?The parameter.

2. Overload

public void Navigate(IRxNavBase viewModel, object? parameter = null)

View source

Summary: Navigates the specified contract.

Parameters

NameTypeDescription
viewModel[IRxNavBase](#The view model.
parameter = nullobject?The parameter.