LoginDialog Class
Namespace
MahApps.Metro.Controls.Dialogs
Base Types
graph BT Type-->Base0["BaseMetroDialog"] click Base0 "/mahapps.com/api/MahApps.Metro.Controls.Dialogs/BaseMetroDialog" Base0-->Base1["ContentControl"] Type["LoginDialog"] class Type type-node

Syntax

public class LoginDialog : BaseMetroDialog

Fields

Name Field Type Constant Value Summary
AffirmativeButtonTextProperty DependencyProperty
Identifies the AffirmativeButtonText dependency property.
static
DialogBottomProperty DependencyProperty
Identifies the DialogBottom dependency property.
Inherited from BaseMetroDialog
static
DialogButtonFontSizeProperty DependencyProperty
Identifies the DialogButtonFontSize dependency property.
Inherited from BaseMetroDialog
static
DialogContentMarginProperty DependencyProperty
Identifies the DialogContentMargin dependency property.
Inherited from BaseMetroDialog
static
DialogContentWidthProperty DependencyProperty
Identifies the DialogContentWidth dependency property.
Inherited from BaseMetroDialog
static
DialogMessageFontSizeProperty DependencyProperty
Identifies the DialogMessageFontSize dependency property.
Inherited from BaseMetroDialog
static
DialogTitleFontSizeProperty DependencyProperty
Identifies the DialogTitleFontSize dependency property.
Inherited from BaseMetroDialog
static
DialogTopProperty DependencyProperty
Identifies the DialogTop dependency property.
Inherited from BaseMetroDialog
static
MessageProperty DependencyProperty
Identifies the Message dependency property.
static
NegativeButtonButtonVisibilityProperty DependencyProperty
Identifies the NegativeButtonButtonVisibility dependency property.
static
NegativeButtonTextProperty DependencyProperty
Identifies the NegativeButtonText dependency property.
static
PasswordProperty DependencyProperty
Identifies the Password dependency property.
static
PasswordWatermarkProperty DependencyProperty
Identifies the PasswordWatermark dependency property.
static
RememberCheckBoxCheckedProperty DependencyProperty
Identifies the RememberCheckBoxChecked dependency property.
static
RememberCheckBoxTextProperty DependencyProperty
Identifies the RememberCheckBoxText dependency property.
static
RememberCheckBoxVisibilityProperty DependencyProperty
Identifies the RememberCheckBoxVisibility dependency property.
static
ShouldHideUsernameProperty DependencyProperty
Identifies the ShouldHideUsername dependency property.
static
TitleProperty DependencyProperty
Identifies the Title dependency property.
Inherited from BaseMetroDialog
static
UsernameCharacterCasingProperty DependencyProperty
Identifies the UsernameCharacterCasing dependency property.
static
UsernameProperty DependencyProperty
Identifies the Username dependency property.
static
UsernameWatermarkProperty DependencyProperty
Identifies the UsernameWatermark dependency property.
static

Properties

Name Property Type Summary
AffirmativeButtonText string
DialogBottom object
Gets or sets the content below the dialog.
Inherited from BaseMetroDialog
DialogButtonFontSize double
Gets or sets the font size of any dialog buttons.
Inherited from BaseMetroDialog
DialogContentMargin GridLength
Gets or sets the left and right margin for the dialog content.
Inherited from BaseMetroDialog
DialogContentWidth GridLength
Gets or sets the width for the dialog content.
Inherited from BaseMetroDialog
DialogMessageFontSize double
Gets or sets the font size of the dialog message text.
Inherited from BaseMetroDialog
DialogSettings MetroDialogSettings
Inherited from BaseMetroDialog
DialogTitleFontSize double
Gets or sets the font size of the dialog title.
Inherited from BaseMetroDialog
DialogTop object
Gets or sets the content above the dialog.
Inherited from BaseMetroDialog
LogicalChildren IEnumerator
Inherited from BaseMetroDialog
Message string
NegativeButtonButtonVisibility Visibility
NegativeButtonText string
Password string
PasswordWatermark string
RememberCheckBoxChecked bool
RememberCheckBoxText string
RememberCheckBoxVisibility Visibility
ShouldHideUsername bool
Title string
Gets or sets the title of the dialog.
Inherited from BaseMetroDialog
Username string
UsernameCharacterCasing CharacterCasing
UsernameWatermark string

Methods

Name Return Value Summary
ConfigureSettings(MetroDialogSettings) MetroDialogSettings
With this method it's possible to return your own settings in a custom dialog.
Inherited from BaseMetroDialog
OnCreateAutomationPeer() AutomationPeer
Inherited from BaseMetroDialog
OnLoaded() void
RequestCloseAsync() Task
Requests an externally shown Dialog to close. Will throw an exception if the Dialog is inside of a MetroWindow.
Inherited from BaseMetroDialog
WaitForCloseAsync() Task
Inherited from BaseMetroDialog
WaitForLoadAsync() Task
Waits for the dialog to become ready for interaction.
Inherited from BaseMetroDialog
WaitUntilUnloadedAsync() Task
Waits until this dialog gets unloaded.
Inherited from BaseMetroDialog

Extension Methods

Name Value Summary
ShowDialogExternally<LoginDialog>(Window, Action<Window>) TDialog
Create and show an external dialog.
ShowModalDialogExternally<LoginDialog>(Window, Action<Window>) TDialog
Create and show an external modal dialog.