DialogManager.

ShowModalLoginExternal(MetroWindow, string, string, LoginDialogSettings) Method

Summary

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

Syntax

public static LoginDialogData ShowModalLoginExternal(this MetroWindow window, string title, string message, LoginDialogSettings settings = null)

Parameters

Name Type Description
window MetroWindow The window that is the parent of the dialog.
title string The title of the LoginDialog.
message string The message contained within the LoginDialog.
settings LoginDialogSettings Optional settings that override the global metro dialog settings.

Return Value

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