Skip to main content
Tab

PopupWindow.CloseOnEscape Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean CloseOnEscape { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

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

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

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

The value assigned to the CloseOnEscape property of a popup window overrides the value set for the popup control’s ASPxPopupControl.CloseOnEscape property (if any) which specifies that the common behavior on an ESC key press apply to all popup windows from the ASPxPopupControl.Windows collection.

See Also