Method WireDialog
WireDialog(object, IDialogViewModel, out ITaskRunner)
Wires up a newly created framework-specific dialog object with the specified view model. The implementation should attach the view model as the dialog's data context, hook up any framework-specific bindings/event handlers, and produce a task runner used to run dialog operations.
Declaration
protected override void WireDialog(object dialog, IDialogViewModel viewModel, out ITaskRunner taskRunner)
Parameters
| Type | Name | Description |
|---|---|---|
| object | dialog | The framework-specific dialog object that was created by the registered dialog activator. |
| IDialogViewModel | viewModel | The dialog view model to associate with the dialog. |
| ITaskRunner | taskRunner | The task runner to use for running dialog operations. Typically configured to disable the dialog's interactivity while busy. |