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


public virtual void ShowPopup()


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.

See Also