Back to Devexpress

INavigationService.GoToAsync(String, IDictionary<String, Object>, Boolean) Method

maui-devexpress-dot-maui-dot-mvvm-dot-inavigationservice-dot-gotoasync-x28-system-dot-string-system-dot-collections-dot-generic-dot-idictionary-system-dot-string-system-dot-object-system-dot-boolean-x29.md

latest2.1 KB
Original Source

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

csharp
Task GoToAsync(
    string route,
    IDictionary<string, object> parameters = null,
    bool animate = true
)

Parameters

NameTypeDescription
routeString

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

NameTypeDefaultDescription
parametersIDictionary<String, System.Object>null

The key-value pairs of parameters passed to the target view.

| | animate | Boolean | True |

true if the navigation’s transition animation is enabled; otherwise, false.

|

Returns

TypeDescription
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.

See Also

INavigationService Interface

INavigationService Members

DevExpress.Maui.Mvvm Namespace