Back to Devexpress

GridEditFormPopupSettings.CloseOnEscape Property

aspnet-devexpress-dot-web-dot-grideditformpopupsettings-d824444f.md

latest1.8 KB
Original Source

GridEditFormPopupSettings.CloseOnEscape Property

Gets or sets a value specifying whether a popup edit form is closed when an end-user presses the ESC key.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(AutoBoolean.Auto)]
public AutoBoolean CloseOnEscape { get; set; }
vb
<DefaultValue(AutoBoolean.Auto)>
Public Property CloseOnEscape As AutoBoolean

Property Value

TypeDefaultDescription
AutoBooleanAuto

true, to close a popup edit form when the ESC key is pressed; otherwise, false.

|

Available values:

NameDescription
Auto

The value is determined automatically, based on the type of the end-user’s device: touch or non-touch.

| | True |

Corresponds to a Boolean value of true.

| | False |

Corresponds to a Boolean value of false.

|

Remarks

The CloseOnEscape property specifies whether a popup edit form is closed when an end-user presses the ESC key.

See Also

Card View - Edit Modes

Grid - Popup Edit Form

GridEditFormPopupSettings Class

GridEditFormPopupSettings Members

DevExpress.Web Namespace