C# Class ModernWPF.Messages.MessageBoxMessage

Message for showing typical modal dialog.
Inheritance: MessageBase
Exibir arquivo Open project: soukoku/ModernWPF

Public Methods

Method Description
HandleWithModern ( Window owner ) : void

Handles a basic MessageBoxMessage on a window by showing a ModernMessageBox and invokes the callback.

HandleWithPlatform ( Window owner ) : void

Handles a basic MessageBoxMessage on a window by showing built-in MessageBox and invokes the callback.

MessageBoxMessage ( object sender, object target, string content, Action callback ) : System

Initializes a new instance of the MessageBoxMessage class.

MessageBoxMessage ( object sender, string content, Action callback ) : System

Initializes a new instance of the MessageBoxMessage class.

MessageBoxMessage ( string content, Action callback ) : System

Initializes a new instance of the MessageBoxMessage class.

Method Details

HandleWithModern() public method

Handles a basic MessageBoxMessage on a window by showing a ModernMessageBox and invokes the callback.
public HandleWithModern ( Window owner ) : void
owner System.Windows.Window The owner.
return void

HandleWithPlatform() public method

Handles a basic MessageBoxMessage on a window by showing built-in MessageBox and invokes the callback.
public HandleWithPlatform ( Window owner ) : void
owner System.Windows.Window The owner.
return void

MessageBoxMessage() public method

Initializes a new instance of the MessageBoxMessage class.
public MessageBoxMessage ( object sender, object target, string content, Action callback ) : System
sender object The message's original sender.
target object The message's intended target.
content string The content.
callback Action
return System

MessageBoxMessage() public method

Initializes a new instance of the MessageBoxMessage class.
public MessageBoxMessage ( object sender, string content, Action callback ) : System
sender object The message's original sender.
content string The content.
callback Action
return System

MessageBoxMessage() public method

Initializes a new instance of the MessageBoxMessage class.
public MessageBoxMessage ( string content, Action callback ) : System
content string The content.
callback Action
return System