Skip to main content
A newer version of this page is available. .

TokenEdit.ClosePopup(PopupCloseMode) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

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 snippets (auto-collected from DevExpress Examples) contain references 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