Skip to main content

PopupBaseEdit.ShowPopup() Method

Opens the popup window.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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 snippet (auto-collected from DevExpress Examples) contains a reference 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