aspnet-devexpress-dot-web-dot-aspxtreelist-dot-treelistsettingspopupeditform.md
Gets or sets a value specifying whether a popup edit form is closed when an end-user presses the ESC key.
Namespace : DevExpress.Web.ASPxTreeList
Assembly : DevExpress.Web.ASPxTreeList.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(AutoBoolean.Auto)]
public AutoBoolean CloseOnEscape { get; set; }
<DefaultValue(AutoBoolean.Auto)>
Public Property CloseOnEscape As AutoBoolean
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to CloseOnEscape |
|---|---|
| TreeListPopupControlSettings |
.EditForm .CloseOnEscape
|
The CloseOnEscape property specifies whether a popup edit form is closed when an end-user presses the ESC key.
See Also
ASPxTreeList - Edit ModesOnline demo:
TreeListSettingsPopupEditForm Class