Skip to main content
A newer version of this page is available. .
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.v19.1.dll

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
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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