windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupbase-6f8abefe.md
Occurs after the editor’s popup window has been opened.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Events")]
public virtual event EventHandler Popup
<DXCategory("Events")>
Public Overridable Event Popup As EventHandler
The Popup event's data class is EventArgs.
Use the Popup event to implement specific behavior after the popup window has been opened.
Do not invoke any message boxes while handling the Popup event.
To prevent the popup window from being opened, the RepositoryItemPopupBase.QueryPopUp event can be handled.
The current Popup event is equivalent to the editor’s PopupBaseEdit.Popup event.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Popup event.
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#L23
ri.EditValueChanged += ri_EditValueChanged;
ri.Popup += ri_Popup;
ri.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
winforms-gridlookupedit-multiple-item-selection/VB/Form1.vb#L20
AddHandler ri.EditValueChanged, AddressOf ri_EditValueChanged
AddHandler ri.Popup, AddressOf ri_Popup
ri.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard
See Also