Summary
Creates a InputDialog inside of the current window.
Syntax
public static Task<string> ShowInputAsync(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 |
Task<string> |
The text that was entered or null (Nothing in Visual Basic) if the user cancelled the operation. |