MessageDialog Members

MessageDialog has the following members.

Public Constructors

  Name Description
MessageDialog Overloaded. Constructors for message dialogs that can be used to ask your user simple questions.

Public Properties

  Name Description
CancelCommandIndex Gets or sets the index of the command you want to use as the cancel command. This is the command that fires when users press the ESC key.
Commands Gets an array of commands that appear in the command bar of the message dialog. These commands makes the dialog actionable.
Content Gets or sets the message to be displayed to the user.
DefaultCommandIndex Gets or sets the index of the command you want to use as the default. This is the command that fires by default when users press the ENTER key.
Options Gets or sets the options for a MessageDialog.
Title Gets or sets the title to display on the dialog, if any.

Public Methods

  Name Description
ShowAsync Begins an asynchronous operation showing a dialog.

See also

Reference

MessageDialog Class

Windows.UI.Popups Namespace