Skip to main content

PopupCloseMode Enum

Contains values that indicate how the drop-down editor’s popup window was closed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v25.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public enum PopupCloseMode

Members

Name Description
Normal

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

Cancel

Specifies that the dropdown window was closed because an end-user pressed the ESC key or clicked the close button (available for LookUpEdit, CalcEdit and PopupContainerEdit controls).

Immediate

Specifies that the dropdown window was closed because an end-user clicked outside the editor.

ButtonClick

Specifies that the dropdown window was closed because an end-user clicked the editor’s dropdown button.

CloseUpKey

Specifies that the dropdown window was closed because an end-user pressed a shortcut used to close the dropdown (the ALT+DOWN ARROW or RepositoryItemPopupBase.CloseUpKey).

Related API Members

The following properties accept/return PopupCloseMode values:

Remarks

The Closed event fires after a popup editor’s drop-down window was closed. Use the e.CloseMode event parameter to identify how the drop-down window was closed.

See Also