DialogManager.

ShowModalInputExternal(MetroWindow, string, string, MetroDialogSettings) Method

Summary

Creates a InputDialog outside of the current window.
Namespace
MahApps.Metro.Controls.Dialogs
Containing Type
DialogManager

Syntax

public static string ShowModalInputExternal(this MetroWindow window, string title, string message, MetroDialogSettings settings = null)

Parameters

Name Type Description
window MetroWindow The MetroWindow
title string The title of the MessageDialog.
message string The message contained within the MessageDialog.
settings MetroDialogSettings Optional settings that override the global metro dialog settings.

Return Value

Type Description
string The text that was entered or null (Nothing in Visual Basic) if the user cancelled the operation.