Back to Devexpress

PopupBaseEdit.ClosePopupOnClickMode Property

wpf-devexpress-dot-xpf-dot-editors-dot-popupbaseedit-26ac49e5.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public PopupCloseMode? ClosePopupOnClickMode { get; set; }
vb
Public Property ClosePopupOnClickMode As PopupCloseMode?

Property Value

TypeDescription
Nullable<PopupCloseMode>

One of the PopupCloseMode enumeration values.

|

Available values:

NameDescription
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

PopupBaseEdit Class

PopupBaseEdit Members

DevExpress.Xpf.Editors Namespace