NavigationShell.Navigate(string?, object?) method¶
Defined in
Type: NavigationShell
Namespace: CrissCross.MAUI
Assembly: CrissCross.MAUI.dll
Applies to
net10.0, net10.0-android36.0, net10.0-ios26.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-browserwasm1.0, net10.0-desktop1.0, net10.0-tvos26.0, net10.0-maccatalyst26.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-browserwasm1.0, net9.0-desktop1.0, net9.0-macos15.0, net9.0-ios18.0, net9.0-android35.0, net8.0-macos15.0, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-tvos18.0, netstandard2.1, net471
Overloads¶
- 1.
public void Navigate<T>(string? contract = null, object? parameter = null) where T : class, IRxObject - 2.
public void Navigate(IRxObject viewModel, string? contract = null, object? parameter = null)
1. Overload¶
public void Navigate<T>(string? contract = null, object? parameter = null) where T : class, IRxObject
Summary: Navigates the ViewModel contract.
Type parameters
| Name | Description |
|---|---|
T | The Type. |
Parameters
| Name | Type | Description |
|---|---|---|
contract = null | string? | The contract. |
parameter = null | object? | The parameter. |
2. Overload¶
public void Navigate(IRxObject viewModel, string? contract = null, object? parameter = null)
Summary: Navigates the specified contract.
Parameters
| Name | Type | Description |
|---|---|---|
viewModel | [IRxObject](# | The view model. |
contract = null | string? | The contract. |
parameter = null | object? | The parameter. |