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

Search Results for

    Method TryGetRouteViewModel

    TryGetRouteViewModel<TViewModel>(out TViewModel)

    Returns the last view model that matches the specified view model type from the current route. Can only be used to reliably get parent view models since child view models may have not been initialized yet.

    Declaration
    bool TryGetRouteViewModel<TViewModel>(out TViewModel viewModel) where TViewModel : class
    Parameters
    Type Name Description
    TViewModel viewModel
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    TViewModel
    © Singulink. All rights reserved.