MessageDialog.Commands Property

Gets an array of commands that appear in the command bar of the message dialog. These commands makes the dialog actionable.

Syntax

public:
property IVector<IUICommand^ >^ Commands {
         IVector<IUICommand^ >^ get ();
}  

Property value

Type: IVector<IUICommand^ > 

  The commands.

Remarks

By default, the array of commands for a dialog is empty. If no commands are appended to this array, then a default “Close” command is shown on the dialog.

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

Requirements

Namespace: Windows.UI.Popups

Metadata: windows.winmd

See also

Reference

MessageDialog Class

MessageDialog Members

Windows.UI.Popups Namespace