Summary
Gets the current shown dialog in async way.
- Namespace
- MahApps
.Metro .Controls .Dialogs - Containing Type
- DialogManager
Syntax
public static Task<TDialog> GetCurrentDialogAsync<TDialog>(this MetroWindow window)
where TDialog : BaseMetroDialog
Type Parameters
Name | Description |
---|---|
TDialog |
Parameters
Name | Type | Description |
---|---|---|
window | MetroWindow | The dialog owner. |
Return Value
Type | Description |
---|---|
Task |