Skip to main content
A newer version of this page is available. .
Tab

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.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(AutoBoolean.Auto)]
public AutoBoolean CloseOnEscape { get; set; }

Property Value

Type Default Description
AutoBoolean **Auto**

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

Available values:

Name Description
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.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CloseOnEscape
ASP.NET Controls and MVC Extensions ASPxCardViewPopupControlSettings
.EditForm .CloseOnEscape
ASPxGridViewPopupControlSettings
.EditForm .CloseOnEscape
TreeListPopupControlSettings
.EditForm .CloseOnEscape
ASP.NET Bootstrap Controls BootstrapCardViewPopupControlSettings
.EditForm .CloseOnEscape
BootstrapGridViewPopupControlSettings
.EditForm .CloseOnEscape
ASP.NET MVC Extensions MVCxGridViewPopupControlSettings
.EditForm .CloseOnEscape
MVCxTreeList
.SettingsPopupEditForm .CloseOnEscape
MVCxTreeListPopupControlSettings
.EditForm .CloseOnEscape

Remarks

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

See Also