LoginDialog Class

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

Syntax

public class LoginDialog : BaseMetroDialog

Fields

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

Properties

Name Value 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 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.