Skip to main content

TokenEdit.ClosePopup(PopupCloseMode) Method

Forces the TokenEdit‘s pop-up to close in a specific mode.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual void ClosePopup(
    PopupCloseMode closeMode
)

Parameters

Name Type Description
closeMode PopupCloseMode

A PopupCloseMode enumerator value that specifies the mode in which the TokenEdit‘s pop-up is closed.

Remarks

The ClosePopup method, that forces the TokenEdit to close its pop-up in a specific mode, is used when assigning a custom drop-down control to the editor. See the TokenEdit with Custom Drop-Down Control topic to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClosePopup(PopupCloseMode) method.

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