Свойство | Type | Description | |
---|---|---|---|
BackgroundContentProperty | |||
ButtonsProperty | |||
ButtonsRowContentProperty | |||
IconSourceProperty |
Méthode | Description | |
---|---|---|
CreateCloseDialogButton ( string content, bool isDefault, bool isCancel, MessageBoxResult result, ICommand command = null ) : System.Windows.Controls.Button | ||
CreateExtraDialogButton ( string content, System.Action action ) : System.Windows.Controls.Button | ||
CreateExtraDialogButton ( string content, System.Action action, Func |
||
CreateExtraDialogButton ( string content, ICommand command, bool isDefault = false ) : System.Windows.Controls.Button | ||
CreateExtraStyledDialogButton ( [ styleKey, string content, System.Action action, Func |
||
CreateExtraStyledDialogButton ( string styleKey, string content, ICommand command ) : System.Windows.Controls.Button | ||
CreateStyledCloseDialogButton ( string styleKey, string content, bool isDefault, bool isCancel, MessageBoxResult result, System.Action action = null ) : System.Windows.Controls.Button | ||
ModernDialog ( ) : System |
Initializes a new instance of the ModernDialog class.
|
|
ShowMessage ( string text ) : MessageBoxResult | ||
ShowMessage ( string text, string title, MessageBoxButton button, |
Displays a messagebox.
|
Méthode | Description | |
---|---|---|
CloseWithResult ( MessageBoxResult result ) : void |
Méthode | Description | |
---|---|---|
GetButtons ( |
protected CloseWithResult ( MessageBoxResult result ) : void | ||
result | MessageBoxResult | |
Résultat | void |
public CreateCloseDialogButton ( string content, bool isDefault, bool isCancel, MessageBoxResult result, ICommand command = null ) : System.Windows.Controls.Button | ||
content | string | |
isDefault | bool | |
isCancel | bool | |
result | MessageBoxResult | |
command | ICommand | |
Résultat | System.Windows.Controls.Button |
public static CreateExtraDialogButton ( string content, System.Action action ) : System.Windows.Controls.Button | ||
content | string | |
action | System.Action | |
Résultat | System.Windows.Controls.Button |
public static CreateExtraDialogButton ( string content, System.Action action, Func |
||
content | string | |
action | System.Action | |
canExecute | Func |
|
Résultat | System.Windows.Controls.Button |
public static CreateExtraDialogButton ( string content, ICommand command, bool isDefault = false ) : System.Windows.Controls.Button | ||
content | string | |
command | ICommand | |
isDefault | bool | |
Résultat | System.Windows.Controls.Button |
public CreateExtraStyledDialogButton ( [ styleKey, string content, System.Action action, Func |
||
styleKey | [ | |
content | string | |
action | System.Action | |
canExecute | Func |
|
Résultat | System.Windows.Controls.Button |
public CreateExtraStyledDialogButton ( string styleKey, string content, ICommand command ) : System.Windows.Controls.Button | ||
styleKey | string | |
content | string | |
command | ICommand | |
Résultat | System.Windows.Controls.Button |
public CreateStyledCloseDialogButton ( string styleKey, string content, bool isDefault, bool isCancel, MessageBoxResult result, System.Action action = null ) : System.Windows.Controls.Button | ||
styleKey | string | |
content | string | |
isDefault | bool | |
isCancel | bool | |
result | MessageBoxResult | |
action | System.Action | |
Résultat | System.Windows.Controls.Button |
public static ShowMessage ( string text ) : MessageBoxResult | ||
text | string | |
Résultat | MessageBoxResult |
public static ShowMessage ( string text, string title, MessageBoxButton button, |
||
text | string | The text. |
title | string | The title. |
button | MessageBoxButton | The button. |
owner | The window owning the messagebox. The messagebox will be located at the center of the owner. | |
Résultat | MessageBoxResult |
public static DependencyProperty,System.Windows BackgroundContentProperty | ||
Résultat |
public static DependencyProperty,System.Windows ButtonsProperty | ||
Résultat |
public static DependencyProperty,System.Windows ButtonsRowContentProperty | ||
Résultat |