Indicates if the Escape key that cancels modified value is handled by the control without passing it to the owner form (AcceptsEscape=True), or it is then passed to the form and can close it if the form has CancelButton (AcceptsEscape=False).
Syntax
'Declaration
Public Property AcceptsEscape As Boolean
public bool AcceptsEscape {get; set;}
See Also