DialogManager.

ShowDialogExternally<TDialog>(TDialog, Window, Action<Window>) Method

Summary

Create and show an external dialog.
Namespace
MahApps.Metro.Controls.Dialogs
Containing Type
DialogManager

Syntax

public static TDialog ShowDialogExternally<TDialog>(this TDialog dialog, Window windowOwner = null, Action<Window> handleExternalDialogWindow = null) 
    where TDialog : BaseMetroDialog

Type Parameters

Name Description
TDialog

Parameters

Name Type Description
dialog TDialog The dialog which will be shown externally.
windowOwner Window The owner for the external window. If it's null the main window will be use.
handleExternalDialogWindow Action<Window> The delegate for customizing dialog window. It can be null.

Return Value

Type Description
TDialog The given dialog.