Property | Type | Description | |
---|---|---|---|
BackgroundContentProperty | |||
ButtonsProperty | |||
ButtonsRowContentProperty | |||
IconSourceProperty |
Method | 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.
|
Method | Description | |
---|---|---|
CloseWithResult ( MessageBoxResult result ) : void |
Method | Description | |
---|---|---|
GetButtons ( |
protected CloseWithResult ( MessageBoxResult result ) : void | ||
result | MessageBoxResult | |
return | 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 | |
return | System.Windows.Controls.Button |
public static CreateExtraDialogButton ( string content, System.Action action ) : System.Windows.Controls.Button | ||
content | string | |
action | System.Action | |
return | System.Windows.Controls.Button |
public static CreateExtraDialogButton ( string content, System.Action action, Func |
||
content | string | |
action | System.Action | |
canExecute | Func |
|
return | System.Windows.Controls.Button |
public static CreateExtraDialogButton ( string content, ICommand command, bool isDefault = false ) : System.Windows.Controls.Button | ||
content | string | |
command | ICommand | |
isDefault | bool | |
return | System.Windows.Controls.Button |
public CreateExtraStyledDialogButton ( [ styleKey, string content, System.Action action, Func |
||
styleKey | [ | |
content | string | |
action | System.Action | |
canExecute | Func |
|
return | System.Windows.Controls.Button |
public CreateExtraStyledDialogButton ( string styleKey, string content, ICommand command ) : System.Windows.Controls.Button | ||
styleKey | string | |
content | string | |
command | ICommand | |
return | 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 | |
return | System.Windows.Controls.Button |
public static ShowMessage ( string text ) : MessageBoxResult | ||
text | string | |
return | 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. | |
return | MessageBoxResult |
public static DependencyProperty,System.Windows BackgroundContentProperty | ||
return |
public static DependencyProperty,System.Windows ButtonsProperty | ||
return |
public static DependencyProperty,System.Windows ButtonsRowContentProperty | ||
return |