IDialogCoordinator.

ShowModalLoginExternal(object, string, string, LoginDialogSettings) Method

Summary

Creates a LoginDialog outside of the current window.

Syntax

LoginDialogData ShowModalLoginExternal(object context, string title, string message, LoginDialogSettings 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 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.