UI Tookit UI Tookit
UI Tookit UI Tookit
DocFX + Singulink = ♥

Search Results for

    Method OnRouteNavigatedAsync

    OnRouteNavigatedAsync(NavigationArgs)

    Called whenever a route that contains the view model is navigated to, even if the view model was already active in the previous route. If the view model was not already active in the previous route then it will be called after OnNavigatedToAsync(NavigationArgs), and any time the route is refreshed or changed while the view model remains active in the new route.

    Declaration
    Task OnRouteNavigatedAsync(NavigationArgs args)
    Parameters
    Type Name Description
    NavigationArgs args
    Returns
    Type Description
    Task
    Remarks

    This method can show dialogs as long as they are closed before the returned task completes or HasChildNavigation on args is false.

    A redirection can be requested by setting the Redirect property on args. If a redirection is requested, the rest of the current navigation will be cancelled and the redirection will occur after the task returned by this method completes. If the view model remains active in the redirected route, this method will be called again.

    © Singulink. All rights reserved.