MessageDialog.Commands Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property IVector<IUICommand ^> ^ Commands { IVector<IUICommand ^> ^ get(); };
IVector<IUICommand> Commands();
public IList<IUICommand> Commands { get; }
var iVector = messageDialog.commands;
Public ReadOnly Property Commands As IList(Of IUICommand)
Property Value
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.
A maximum number of 3 UICommand objects can be added, and an exception will be thrown if adding over 3.