Skip to main content

CalcEdit.GetPopupEditForm() Method

Returns the drop-down calculator.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v25.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public PopupCalcEditForm GetPopupEditForm()

Returns

Type Description
DevExpress.XtraEditors.Popup.PopupCalcEditForm

The drop-down calculator. null (Nothing in VB) if the drop-down calculator is closed.

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.

using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Popup;

void calcEdit1_Popup(object sender, EventArgs e) {
    CalcEdit edit = sender as CalcEdit;
    if (edit != null){
        PopupCalcEditForm popupForm = edit.GetPopupEditForm();
        // ... 
    }
}
See Also