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

Search Results for

    Method SetParameter

    SetParameter<TParam>(IRoutedViewModel<TParam>, TParam)

    Associates the specified route parameter with a routed view model so that its Parameter extension property returns it.

    Declaration
    public static void SetParameter<TParam>(this IRoutedViewModel<TParam> viewModel, TParam parameter) where TParam : notnull
    Parameters
    Type Name Description
    IRoutedViewModel<TParam> viewModel
    TParam parameter
    Type Parameters
    Name Description
    TParam
    Exceptions
    Type Condition
    InvalidOperationException

    A parameter has already been associated with the view model.

    © Singulink. All rights reserved.