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

PopupBaseEdit.ShowPopup() Method

Opens the popup window.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public virtual void ShowPopup()

Remarks

The ShowPopup method enables you to open the popup window via code. Use this method to simplify end-user input. For instance, you may want to open an editor’s popup window as soon as the editor receives focus.

The ShowPopup method will not succeed in the following cases:

To close the popup window via code, you can call either the PopupBaseEdit.ClosePopup or PopupBaseEdit.CancelPopup methods. These methods allow you to accept or discard the changes made within the popup window.

Online Video

WinForms Grid: Date Popups when Cell is Clicked.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowPopup() 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