Method ShowDialogAsync
ShowDialogAsync(IDialogViewModel)
Shows a dialog with the specified view model and returns a task that completes when the dialog closes.
Declaration
Task ShowDialogAsync(IDialogViewModel viewModel)
Parameters
Returns
ShowDialogAsync<TResult>(IDialogViewModel<TResult>)
Shows a dialog with the specified view model and returns a task that completes with the dialog result when the dialog closes.
Declaration
Task<TResult> ShowDialogAsync<TResult>(IDialogViewModel<TResult> viewModel)
Parameters
| Type |
Name |
Description |
| IDialogViewModel<TResult> |
viewModel |
The view model for the dialog.
|
Returns
| Type |
Description |
| Task<TResult> |
|
Type Parameters