Icon ModalDefault Property

property ModalDefault: Boolean

Usage

Available In: Visual Client Applications

Specifies that this button is the default button for the parent dialog. If the enter key is pressed while the dialog is active, then the ModalResult property for the dialog will be set to the same value as the ModalResult property of the button.
Image