C# Class MahApps.Metro.Controls.Dialogs.MessageDialog

An internal control that represents a message dialog. Please use MetroWindow.ShowMessage instead!
Inheritance: BaseMetroDialog
显示文件 Open project: MahApps/MahApps.Metro Class Usage Examples

Public Properties

Property Type Description
AffirmativeButtonTextProperty System.Windows.DependencyProperty
ButtonStyleProperty System.Windows.DependencyProperty
FirstAuxiliaryButtonTextProperty System.Windows.DependencyProperty
MessageProperty System.Windows.DependencyProperty
NegativeButtonTextProperty System.Windows.DependencyProperty
SecondAuxiliaryButtonTextProperty System.Windows.DependencyProperty

Protected Methods

Method Description
OnLoaded ( ) : void

Private Methods

Method Description
IsApplicable ( MessageDialogResult value ) : bool
MessageDialog ( ) : System
MessageDialog ( MetroWindow parentWindow ) : System
MessageDialog ( MetroWindow parentWindow, MetroDialogSettings settings ) : System
OnKeyCopyExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SetButtonState ( MessageDialog md ) : void
WaitForButtonPressAsync ( ) : Task

Method Details

OnLoaded() protected method

protected OnLoaded ( ) : void
return void

Property Details

AffirmativeButtonTextProperty public_oe static_oe property

public static DependencyProperty,System.Windows AffirmativeButtonTextProperty
return System.Windows.DependencyProperty

ButtonStyleProperty public_oe static_oe property

public static DependencyProperty,System.Windows ButtonStyleProperty
return System.Windows.DependencyProperty

FirstAuxiliaryButtonTextProperty public_oe static_oe property

public static DependencyProperty,System.Windows FirstAuxiliaryButtonTextProperty
return System.Windows.DependencyProperty

MessageProperty public_oe static_oe property

public static DependencyProperty,System.Windows MessageProperty
return System.Windows.DependencyProperty

NegativeButtonTextProperty public_oe static_oe property

public static DependencyProperty,System.Windows NegativeButtonTextProperty
return System.Windows.DependencyProperty

SecondAuxiliaryButtonTextProperty public_oe static_oe property

public static DependencyProperty,System.Windows SecondAuxiliaryButtonTextProperty
return System.Windows.DependencyProperty