Skip to main content

ImageComboBoxEdit.GetPopupEditForm() Method

Returns the control’s popup window.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v25.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public PopupImageComboBoxEditListBoxForm GetPopupEditForm()

Returns

Type Description
DevExpress.XtraEditors.Popup.PopupImageComboBoxEditListBoxForm

A DevExpress.XtraEditors.Popup.PopupImageComboBoxEditListBoxForm object that represents the control’s popup window. null (Nothing in VB) if the popup window has not been opened yet.

Remarks

To open the drop-down window, do one of the following:

  • Click the drop-down button.
  • Use the ShowPopup() method.

Use the GetPopupEditForm method in the Popup event handler to access the drop-down window and customize its settings, or handle dropdown-specific events.

private void imageComboBoxEdit1_Popup(object sender, EventArgs e) {
    DevExpress.XtraEditors.ImageComboBoxEdit edit = sender as DevExpress.XtraEditors.ImageComboBoxEdit;
    if (edit != null){
        DevExpress.XtraEditors.Popup.PopupImageComboBoxEditListBoxForm popupForm = edit.GetPopupEditForm();
        // ... 
    }
}

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetPopupEditForm() 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.

See Also