Summary
Hides a visible Metro Dialog instance.
- Namespace
- MahApps
.Metro .Controls .Dialogs - Containing Type
- DialogManager
Syntax
public static Task HideMetroDialogAsync(this MetroWindow window, BaseMetroDialog dialog, MetroDialogSettings settings = null)
Parameters
| Name | Type | Description |
|---|---|---|
| window | MetroWindow | The window with the dialog that is visible. |
| 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. |
