Share via


MessageDialog.Options Property

Definition

Gets or sets the options for a MessageDialog.

public:
 property MessageDialogOptions Options { MessageDialogOptions get(); void set(MessageDialogOptions value); };
MessageDialogOptions Options();

void Options(MessageDialogOptions value);
public MessageDialogOptions Options { get; set; }
var messageDialogOptions = messageDialog.options;
messageDialog.options = messageDialogOptions;
Public Property Options As MessageDialogOptions

Property Value

The options for the dialog.

Remarks

You can't change options after the dialog displays.

To delay interaction with commands for a short period when the dialog is first shown, set the AcceptUserInputAfterDelay option with MessageDialogOptions.

Applies to

See also