Input for WinForms | ComponentOne
C1.Win.Input.Base Namespace / C1TextBoxBase Class / AcceptsEscape Property

In This Topic
    AcceptsEscape Property (C1TextBoxBase)
    In This Topic
    Gets or sets a value 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