windowsforms-devexpress-dot-xtraeditors-dot-popupcontaineredit-c024ed43.md
Opens the popup window.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public override void ShowPopup()
Public Overrides Sub ShowPopup
This method overrides the PopupBaseEdit.ShowPopup method to implement the popup container editor’s specific functionality. Note: a popup control must be specified by the RepositoryItemPopupContainerEdit.PopupControl property.
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.
winforms-gridlookupedit-multiple-item-selection/CS/Form1.cs#L42
if(!edit.IsPopupOpen)
edit.ShowPopup();
UpdateSelection(edit, popupGridView2);
winforms-gridlookupedit-multiple-item-selection/VB/Form1.vb#L36
Dim edit As PopupContainerEdit = TryCast(sender, PopupContainerEdit)
If Not edit.IsPopupOpen Then edit.ShowPopup()
UpdateSelection(edit, popupGridView2)
See Also