DialogManager.

ShowProgressAsync(MetroWindow, string, string, bool, MetroDialogSettings) Method

Summary

Creates a ProgressDialog inside of the current window.
Namespace
MahApps.Metro.Controls.Dialogs
Containing Type
DialogManager

Syntax

public static Task<ProgressDialogController> ShowProgressAsync(this MetroWindow window, string title, string message, bool isCancelable = false, MetroDialogSettings settings = null)

Parameters

Name Type Description
window MetroWindow The MetroWindow
title string The title of the ProgressDialog.
message string The message within the ProgressDialog.
isCancelable bool Determines if the cancel button is visible.
settings MetroDialogSettings Optional Settings that override the global metro dialog settings.

Return Value

Type Description
Task<ProgressDialogController> A task promising the instance of ProgressDialogController for this operation.