windowsforms-devexpress-dot-xtraeditors-dot-popupbaseedit-f89d3953.md
Gets a value indicating whether the popup window is open.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
public virtual bool IsPopupOpen { get; }
<Browsable(False)>
Public Overridable ReadOnly Property IsPopupOpen As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the popup window is open; otherwise, false.
|
Read the IsPopupOpen property value to determine whether the editor’s popup window is open. Note: this property is also used internally by the editors. For example, editors do not raise validation when pressing the ENTER key while the popup window is open.
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsPopupOpen property.
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#L41
PopupContainerEdit edit = sender as PopupContainerEdit;
if(!edit.IsPopupOpen)
edit.ShowPopup();
public void AppointmentLabelEdit_KeyDown(object sender, KeyEventArgs e) {
if (!appointmentLabelEdit1.IsPopupOpen)
Editor_KeyDown(sender, e);
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)
Public Sub AppointmentLabelEdit_KeyDown(ByVal sender As Object, ByVal e As KeyEventArgs)
If Not appointmentLabelEdit1.IsPopupOpen Then
Editor_KeyDown(sender, e)
See Also