Back to Devexpress

PopupCloseMode Enum

windowsforms-devexpress-dot-xtraeditors-c108d256.md

latest2.5 KB
Original Source

PopupCloseMode Enum

Contains values specifying how a dropdown editor’s popup window was closed.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum PopupCloseMode
vb
Public Enum PopupCloseMode

Members

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

|

The following properties accept/return PopupCloseMode values:

Remarks

When a popup editor’s dropdown window is closed, the RepositoryItemPopupBase.Closed event occurs. Its ClosedEventArgs.CloseMode parameter represents a PopupCloseMode value and this determines how the dropdown window was closed.

See Also

CloseMode

DevExpress.XtraEditors Namespace