INavigationService.GoToAsync(String, IDictionary<String, Object>, Boolean) Method
Navigates users to a specified route asynchronously and returns the Task that is completed when navigation is finished.
Namespace: DevExpress.Maui.Mvvm
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
Declaration
Task GoToAsync(
string route,
IDictionary<string, object> parameters = null,
bool animate = true
)
Parameters
| Name | Type | Description |
|---|---|---|
| route | String | The route string that specifies the target page or view. The route identifies the destination within the navigation hierarchy and may include parameters of the route syntax. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| parameters | IDictionary<String, System.Object> | null | The key-value pairs of parameters passed to the target view. |
| animate | Boolean | True |
|
Returns
| Type | Description |
|---|---|
| Task | An operation that executes asynchronously and is completed when the navigation is finished. |
Remarks
Refer to the following topic for more information: .NET MAUI Shell navigation.