C# Class ModernWPF.Controls.ModernMessageBox

An in-window MessageBox replacment when using ModernWPF.
Inheritance: MessageBoxControl
Exibir arquivo Open project: soukoku/ModernWPF Class Usage Examples

Public Methods

Method Description
Show ( DialogControlContainer owner, string messageBoxText ) : MessageBoxResult

Displays a message box in front of the specified DialogControlContainer.

Show ( DialogControlContainer owner, string messageBoxText, string caption ) : MessageBoxResult

Displays a message box in front of the specified DialogControlContainer.

Show ( DialogControlContainer owner, string messageBoxText, string caption, MessageBoxButton button ) : MessageBoxResult

Displays a message box in front of the specified DialogControlContainer.

Show ( DialogControlContainer owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon ) : MessageBoxResult

Displays a message box in front of the specified DialogControlContainer.

Show ( DialogControlContainer owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult ) : MessageBoxResult

Displays a message box in front of the specified DialogControlContainer.

Show ( Window owner, string messageBoxText ) : MessageBoxResult

Displays a message box in front of the specified window.

Show ( Window owner, string messageBoxText, string caption ) : MessageBoxResult

Displays a message box in front of the specified window.

Show ( Window owner, string messageBoxText, string caption, MessageBoxButton button ) : MessageBoxResult

Displays a message box in front of the specified window.

Show ( Window owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon ) : MessageBoxResult

Displays a message box in front of the specified window.

Show ( Window owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult ) : MessageBoxResult

Displays a message box in front of the specified window.

Private Methods

Method Description
ModernMessageBox ( ) : System

Method Details

Show() public static method

Displays a message box in front of the specified DialogControlContainer.
owner
public static Show ( DialogControlContainer owner, string messageBoxText ) : MessageBoxResult
owner DialogControlContainer A to host this message box.
messageBoxText string The message box text.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified DialogControlContainer.
owner
public static Show ( DialogControlContainer owner, string messageBoxText, string caption ) : MessageBoxResult
owner DialogControlContainer A to host this message box.
messageBoxText string The message box text.
caption string The caption.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified DialogControlContainer.
owner
public static Show ( DialogControlContainer owner, string messageBoxText, string caption, MessageBoxButton button ) : MessageBoxResult
owner DialogControlContainer A to host this message box.
messageBoxText string The message box text.
caption string The caption.
button MessageBoxButton The button to display.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified DialogControlContainer.
owner
public static Show ( DialogControlContainer owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon ) : MessageBoxResult
owner DialogControlContainer A to host this message box.
messageBoxText string The message box text.
caption string The caption.
button MessageBoxButton The button to display.
icon MessageBoxImage The icon to display.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified DialogControlContainer.
owner
public static Show ( DialogControlContainer owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult ) : MessageBoxResult
owner DialogControlContainer A to host this message box.
messageBoxText string The message box text.
caption string The caption.
button MessageBoxButton The button to display.
icon MessageBoxImage The icon to display.
defaultResult MessageBoxResult The default result.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified window.
owner
public static Show ( Window owner, string messageBoxText ) : MessageBoxResult
owner System.Windows.Window A that contains in its visual tree.
messageBoxText string The message box text.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified window.
owner
public static Show ( Window owner, string messageBoxText, string caption ) : MessageBoxResult
owner System.Windows.Window A that contains in its visual tree.
messageBoxText string The message box text.
caption string The caption.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified window.
owner
public static Show ( Window owner, string messageBoxText, string caption, MessageBoxButton button ) : MessageBoxResult
owner System.Windows.Window A that contains in its visual tree.
messageBoxText string The message box text.
caption string The caption.
button MessageBoxButton The button to display.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified window.
owner
public static Show ( Window owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon ) : MessageBoxResult
owner System.Windows.Window A that contains in its visual tree.
messageBoxText string The message box text.
caption string The caption.
button MessageBoxButton The button to display.
icon MessageBoxImage The icon to display.
return MessageBoxResult

Show() public static method

Displays a message box in front of the specified window.
owner
public static Show ( Window owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult ) : MessageBoxResult
owner System.Windows.Window A that contains in its visual tree.
messageBoxText string The message box text.
caption string The caption.
button MessageBoxButton The button to display.
icon MessageBoxImage The icon to display.
defaultResult MessageBoxResult The default result.
return MessageBoxResult