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

Search Results for

    Method GetPartialRoute

    GetPartialRoute<TParentViewModel>(IConcreteChildRoutePart<TParentViewModel>, string?)

    Gets the route that NavigatePartialAsync<TParentViewModel>(IConcreteChildRoutePart<TParentViewModel>, string?) would navigate to, without navigating. Useful for opening a child route elsewhere, such as in a new window. The current route must contain a view with the specified parent view model type otherwise an InvalidOperationException is thrown.

    Declaration
    public string GetPartialRoute<TParentViewModel>(IConcreteChildRoutePart<TParentViewModel> childRoutePart, string? anchor = null) where TParentViewModel : class
    Parameters
    Type Name Description
    IConcreteChildRoutePart<TParentViewModel> childRoutePart
    string anchor
    Returns
    Type Description
    string
    Type Parameters
    Name Description
    TParentViewModel
    Implements
    INavigator.GetPartialRoute<TParentViewModel>(IConcreteChildRoutePart<TParentViewModel>, string?)

    GetPartialRoute<TParentViewModel>(ConcretePartialRoute<TParentViewModel>, string?)

    Gets the route that NavigatePartialAsync<TParentViewModel>(ConcretePartialRoute<TParentViewModel>, string?) would navigate to, without navigating. The current route must contain a view with the specified parent view model type otherwise an InvalidOperationException is thrown.

    Declaration
    public string GetPartialRoute<TParentViewModel>(ConcretePartialRoute<TParentViewModel> route, string? anchor = null) where TParentViewModel : class
    Parameters
    Type Name Description
    ConcretePartialRoute<TParentViewModel> route
    string anchor
    Returns
    Type Description
    string
    Type Parameters
    Name Description
    TParentViewModel
    Implements
    INavigator.GetPartialRoute<TParentViewModel>(ConcretePartialRoute<TParentViewModel>, string?)
    © Singulink. All rights reserved.