EscapeAnswer Property
Gets or sets the answer that is returned when the Escape key is hit during a prompt or when the top-right close button of the prompt dialog is clicked.
Syntax
public PromptAnswer EscapeAnswer {get; set;}Public Property EscapeAnswer As PromptAnswerRemarks
Setting this value to PromptAnswer.NotSet will result in EscapeAnswer returning to its default value. For OK/Cancel prompts, this will default to Cancel. For MultiYesNoOnly prompts, this will default to "NoToAll". For all other prompts, this will default to No.