Icon ModalCancel Property

property ModalCancel: Boolean

Usage

Available In: Visual Client Applications

Specifies that this button is the cancel button for the parent dialog. If the escape 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