Back to Devexpress

CloseUpEventArgs.CloseMode Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-closeupeventargs.md

latest2.3 KB
Original Source

CloseUpEventArgs.CloseMode Property

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

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public PopupCloseMode CloseMode { get; }
vb
Public ReadOnly Property CloseMode As PopupCloseMode

Property Value

TypeDescription
PopupCloseMode

A PopupCloseMode enumeration value which specifies how the dropdown editor’s popup window was closed.

|

Available values:

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

|

See Also

CloseUpEventArgs Class

CloseUpEventArgs Members

DevExpress.XtraEditors.Controls Namespace