Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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