Back to Devexpress

TreeListSettingsPopupEditForm.CloseOnEscape Property

aspnet-devexpress-dot-web-dot-aspxtreelist-dot-treelistsettingspopupeditform.md

latest2.3 KB
Original Source

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

Assembly : DevExpress.Web.ASPxTreeList.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(AutoBoolean.Auto)]
public AutoBoolean CloseOnEscape { get; set; }
vb
<DefaultValue(AutoBoolean.Auto)>
Public Property CloseOnEscape As AutoBoolean

Property Value

TypeDefaultDescription
AutoBooleanAuto

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

|

Available values:

NameDescription
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:

Object TypePath to CloseOnEscape
TreeListPopupControlSettings

.EditForm .CloseOnEscape

|

Remarks

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

See Also

Popup Edit Form

ASPxTreeList - Edit ModesOnline demo:

TreeListSettingsPopupEditForm Class

TreeListSettingsPopupEditForm Members

DevExpress.Web.ASPxTreeList Namespace