Skip to main content
A newer version of this page is available. .

ClosePopupEventArgs.CloseMode Property

Gets a value indicating how the popup editor’s dropdown window has been closed.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public PopupCloseMode CloseMode { get; }

Property Value

Type Description
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CloseMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also