Back to Devexpress

PopupContainerEdit.ShowPopup() Method

windowsforms-devexpress-dot-xtraeditors-dot-popupcontaineredit-c024ed43.md

latest2.9 KB
Original Source

PopupContainerEdit.ShowPopup() Method

Opens the popup window.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override void ShowPopup()
vb
Public Overrides Sub ShowPopup

Remarks

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

csharp
if(!edit.IsPopupOpen)
    edit.ShowPopup();
UpdateSelection(edit, popupGridView2);

winforms-gridlookupedit-multiple-item-selection/VB/Form1.vb#L36

vb
Dim edit As PopupContainerEdit = TryCast(sender, PopupContainerEdit)
If Not edit.IsPopupOpen Then edit.ShowPopup()
UpdateSelection(edit, popupGridView2)

See Also

ActionButtonIndex

ShowDropDown

QueryPopUp

ClosePopup()

CancelPopup()

PopupContainerEdit Class

PopupContainerEdit Members

DevExpress.XtraEditors Namespace