MessageDialog.DefaultCommandIndex Property

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.

Syntax

public:
property uint32 DefaultCommandIndex {
         uint32 get ();
         void set (uint32 value);
}  

Property value

Type: uint32 

  The index of the default command.

Requirements

Namespace: Windows.UI.Popups

Metadata: windows.winmd

See also

Reference

MessageDialog Class

MessageDialog Members

Windows.UI.Popups Namespace