IDialogCoordinator.

HideMetroDialogAsync(object, BaseMetroDialog, MetroDialogSettings) Method

Summary

Hides a visible Metro Dialog instance.

Syntax

Task HideMetroDialogAsync(object context, BaseMetroDialog dialog, MetroDialogSettings settings = null)

Parameters

Name Type Description
context object Typically this should be the view model, which you register in XAML using MahApps.Metro.Controls.Dialogs.DialogParticipation.SetRegister(DependencyObject,System.Object).
dialog BaseMetroDialog The dialog instance to hide.
settings MetroDialogSettings An optional pre-defined settings instance.

Return Value

Type Description
Task A task representing the operation.