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

Search Results for

    Method OnNavigatedToAsync

    OnNavigatedToAsync(NavigationArgs)

    Called when the view model is navigated to (i.e. becomes visible). May be called multiple times on the same view model instance if the view model is navigated away from but still cached when a route containing the view model is navigated to again. Calls are always paired with future calls to OnNavigatedAwayAsync().

    Declaration
    Task OnNavigatedToAsync(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 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. This method will not be called again if the view model is still active in the redirected route.

    © Singulink. All rights reserved.