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

Search Results for

    Method AttachDialogViewModel

    AttachDialogViewModel(object, IDialogViewModel)

    Attaches the specified view model to a dialog object that was wired by WireDialog(object, out ITaskRunner). The implementation should set the view model as the dialog's data context. The view model is fully constructed and its navigator is available when this is called.

    Declaration
    protected abstract void AttachDialogViewModel(object dialog, IDialogViewModel viewModel)
    Parameters
    Type Name Description
    object dialog

    The framework-specific dialog object that was wired by WireDialog(object, out ITaskRunner).

    IDialogViewModel viewModel

    The dialog view model to associate with the dialog.

    © Singulink. All rights reserved.