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