Skip to main content

PopupBaseEdit.ClosePopupOnClickMode Property

Gets or sets a value specifying how the popup editor’s dropdown window closes.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public PopupCloseMode? ClosePopupOnClickMode { get; set; }

Property Value

Type Description
Nullable<PopupCloseMode>

One of the PopupCloseMode enumeration values.

Available values:

Name Description
Normal

Specifies that the drop-down window was closed because an end-user selected an option from the editor’s drop-down.

Cancel

Specifies that the drop-down window was closed because an end-user pressed the ESC key or clicked the close button.

Remarks

By default, if the user clicks outside the dropdown window, it closes without saving the changes.

When the ClosePopupOnClickMode property is set to Normal, the popup editor saves the changes when the user clicks outside the dropdown window.

See Also