Summary
Create and show an external modal dialog.
Syntax
public static TDialog ShowModalDialogExternally<TDialog>(this TDialog dialog, Window windowOwner = null, Action<Window> handleExternalDialogWindow = null)
where TDialog : BaseMetroDialog
Type Parameters
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. |