Méthode | Description | |
---|---|---|
MessageDialog ( string content ) : System |
Initializes a new instance of the MessageDialog class to display an untitled message dialog box that can be used to ask your user simple questions.
|
|
MessageDialog ( string content, string title ) : System |
Initializes a new instance of the MessageDialog class to display a titled message dialog box that can be used to ask your user simple questions.
|
|
ShowAsync ( ) : Task |
Begins an asynchronous operation showing a dialog. In some cases, such as when the dialog is closed by the system out of your control, your result can be an empty command. Returns either the command selected which destroyed the dialog, or an empty command. For example, a dialog hosted in a charms window will return an empty command if the charms window has been dismissed. |
Méthode | Description | |
---|---|---|
ActionClicked ( UIAlertAction action ) : void | ||
Cd_PrimaryButtonClick ( Windows sender, Windows args ) : void | ||
Cd_SecondaryButtonClick ( Windows sender, Windows args ) : void | ||
Clicked ( object sender, Android e ) : void | ||
NSAlert_onEnded ( nint command ) : void | ||
ShowTaskDialog ( ) : IUICommand |
public MessageDialog ( string content ) : System | ||
content | string | The message you want displayed to the user. |
Résultat | System |
public MessageDialog ( string content, string title ) : System | ||
content | string | The message you want displayed to the user. |
title | string | The title you want displayed on the dialog box. |
Résultat | System |