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

ClosedEventArgs.CloseMode Property

Gets a value that specifies why the popup editor’s dropdown window was closed.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public PopupCloseMode CloseMode { get; }

#Property Value

Type Description
PopupCloseMode

A PopupCloseMode value specifying the reason the dropdown window was closed.

Available values:

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

See Also