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

Search Results for

    Method OnNavigatingAwayAsync

    OnNavigatingAwayAsync(NavigatingArgs)

    Called when the view model is being navigated away from. Can be used to cancel the new navigation (e.g. if there is unsaved data).

    Declaration
    Task OnNavigatingAwayAsync(NavigatingArgs args)
    Parameters
    Type Name Description
    NavigatingArgs args
    Returns
    Type Description
    Task
    Remarks

    This method can show dialogs as long as they are closed before the returned task completes. The Cancel property on args is checked after the task returned by this method completes to determine whether the new navigation should be cancelled.

    © Singulink. All rights reserved.