C# Class Cimbalino.Phone.Toolkit.Services.MessageBoxService

Represents an implementation of the IMessageBoxService.
Inheritance: IMessageBoxService
Afficher le fichier Open project: Cimbalino/Cimbalino-Phone-Toolkit

Méthodes publiques

Méthode Description
Show ( string text, string caption, MessageBoxButton button ) : MessageBoxResult

Displays a message box that contains the specified text, title bar caption, and response buttons.

Show ( string text ) : void

Displays a message box that contains the specified text and an OK button.

Show ( string text, string caption ) : void

Displays a message box that contains the specified text, title bar caption, and an OK button.

Show ( string text, string caption, IEnumerable buttons, Action selectedButton ) : void

Displays a message box that contains the specified text, title bar caption, and response buttons.

ShowAsync ( string text, string caption, IEnumerable buttons ) : Task

Displays a message box that contains the specified text, title bar caption, and response buttons.

Method Details

Show() public méthode

Displays a message box that contains the specified text, title bar caption, and response buttons.
public Show ( string text, string caption, MessageBoxButton button ) : MessageBoxResult
text string The message to display.
caption string The title of the message box.
button MessageBoxButton A value that indicates the button or buttons to display.
Résultat MessageBoxResult

Show() public méthode

Displays a message box that contains the specified text and an OK button.
public Show ( string text ) : void
text string The message to display.
Résultat void

Show() public méthode

Displays a message box that contains the specified text, title bar caption, and an OK button.
public Show ( string text, string caption ) : void
text string The message to display.
caption string The title of the message box.
Résultat void

Show() public méthode

Displays a message box that contains the specified text, title bar caption, and response buttons.
public Show ( string text, string caption, IEnumerable buttons, Action selectedButton ) : void
text string The message to display.
caption string The title of the message box.
buttons IEnumerable The captions for message box buttons. The maximum number of buttons is two.
selectedButton Action The to be called once the operation is finished.
Résultat void

ShowAsync() public méthode

Displays a message box that contains the specified text, title bar caption, and response buttons.
public ShowAsync ( string text, string caption, IEnumerable buttons ) : Task
text string The message to display.
caption string The title of the message box.
buttons IEnumerable The captions for message box buttons. The maximum number of buttons is two.
Résultat Task