ProgressDialog Class

Summary

An internal control that represents a message dialog. Please use MetroWindow.ShowMessage instead!
Namespace
MahApps.Metro.Controls.Dialogs
Base Types
graph BT Type-->Base0["BaseMetroDialog"] click Base0 "/api/MahApps.Metro.Controls.Dialogs/BaseMetroDialog" Base0-->Base1["ContentControl"] Type["ProgressDialog"] class Type type-node

Syntax

public class ProgressDialog : BaseMetroDialog

Fields

Name Constant Value Summary
DialogBottomProperty
Identifies the DialogBottom dependency property.
Inherited from BaseMetroDialog
static
DialogButtonFontSizeProperty
Identifies the DialogButtonFontSize dependency property.
Inherited from BaseMetroDialog
static
DialogContentMarginProperty
Identifies the DialogContentMargin dependency property.
Inherited from BaseMetroDialog
static
DialogContentWidthProperty
Identifies the DialogContentWidth dependency property.
Inherited from BaseMetroDialog
static
DialogMessageFontSizeProperty
Identifies the DialogMessageFontSize dependency property.
Inherited from BaseMetroDialog
static
DialogTitleFontSizeProperty
Identifies the DialogTitleFontSize dependency property.
Inherited from BaseMetroDialog
static
DialogTopProperty
Identifies the DialogTop dependency property.
Inherited from BaseMetroDialog
static
IsCancelableProperty
Identifies the IsCancelable dependency property.
static
MessageProperty
Identifies the Message dependency property.
static
NegativeButtonTextProperty
Identifies the NegativeButtonText dependency property.
static
ProgressBarForegroundProperty
Identifies the ProgressBarForeground dependency property.
static
TitleProperty
Identifies the Title dependency property.
Inherited from BaseMetroDialog
static

Properties

Name Value Summary
DialogBottom object
Gets or sets the content below the dialog.
Inherited from BaseMetroDialog
DialogButtonFontSize double
Gets or sets the font size of any dialog buttons.
Inherited from BaseMetroDialog
DialogContentMargin GridLength
Gets or sets the left and right margin for the dialog content.
Inherited from BaseMetroDialog
DialogContentWidth GridLength
Gets or sets the width for the dialog content.
Inherited from BaseMetroDialog
DialogMessageFontSize double
Gets or sets the font size of the dialog message text.
Inherited from BaseMetroDialog
DialogSettings MetroDialogSettings
Inherited from BaseMetroDialog
DialogTitleFontSize double
Gets or sets the font size of the dialog title.
Inherited from BaseMetroDialog
DialogTop object
Gets or sets the content above the dialog.
Inherited from BaseMetroDialog
IsCancelable bool
LogicalChildren IEnumerator
Inherited from BaseMetroDialog
Message string
NegativeButtonText string
ProgressBarForeground Brush
Title string
Gets or sets the title of the dialog.
Inherited from BaseMetroDialog

Methods

Name Value Summary
ConfigureSettings(MetroDialogSettings) MetroDialogSettings
With this method it's possible to return your own settings in a custom dialog.
Inherited from BaseMetroDialog
OnCreateAutomationPeer() AutomationPeer
Inherited from BaseMetroDialog
OnLoaded() void
RequestCloseAsync() Task
Requests an externally shown Dialog to close. Will throw an exception if the Dialog is inside of a MetroWindow.
Inherited from BaseMetroDialog
WaitForCloseAsync() Task
Inherited from BaseMetroDialog
WaitForLoadAsync() Task
Waits for the dialog to become ready for interaction.
Inherited from BaseMetroDialog
WaitUntilUnloadedAsync() Task
Waits until this dialog gets unloaded.
Inherited from BaseMetroDialog

Extension Methods

Name Value Summary
ShowDialogExternally<ProgressDialog>(Window, Action<Window>) TDialog
Create and show an external dialog.
ShowModalDialogExternally<ProgressDialog>(Window, Action<Window>) TDialog
Create and show an external modal dialog.