IDialogCoordinator.

ShowModalInputExternal(object, string, string, MetroDialogSettings) Method

Summary

Shows the input dialog.

Syntax

string ShowModalInputExternal(object context, string title, string message, MetroDialogSettings settings = null)

Parameters

Name Type Description
context object Typically this should be the view model, which you register in XAML using MahApps.Metro.Controls.Dialogs.DialogParticipation.SetRegister(DependencyObject,System.Object).
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.