wpf-devexpress-dot-xpf-dot-editors-dot-popupbaseedit-26ac49e5.md
Gets or sets a value specifying how the popup editor’s dropdown window closes.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public PopupCloseMode? ClosePopupOnClickMode { get; set; }
Public Property ClosePopupOnClickMode As PopupCloseMode?
| 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.
|
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